jina-ai / jina-ai/node-DeepResearch

openai - schema validation issues

Open
#79 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.2k
Forks
461
PR merge metrics
No merged PRs in 30d

Description

1. need to pass `structuredOutputs` to `createOpenAI` for structured output to actually work
2. schema validation will fail because of `.max()` / `.min()` in zod schema
it will generate these kind of errors:
`Invalid schema for response_format ... maxLength is not permitterd`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.