Skip to content

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

@uriva

Description

@uriva

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions