openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

Model seems to ignore `.optional()` fields, and instead uses fasly values such as 0, empty strings etc'

Open uriva opened this issue 11 months ago • 5 comments

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • [X] This is an issue with the Node library

Describe the bug

Model seems to ignore .optional() fields, and instead uses nullary values, empty strings etc'

I'm not sure if it's a library issue or chatgpt model issue.

To Reproduce

I suspect this is a KI or an upstream problem, but let me know if not I'll send a repro

Code snippets

No response

OS

ubuntu

Node version

22.7.0

Library version

4.57.0

uriva avatar Nov 11 '24 06:11 uriva