Skip to content

Invalid schema for function 'add-documents' #27

@serener91

Description

@serener91

I am trying to use it use OpenAI Agent SDK and there seems to be a schema issue.

openai.BadRequestError: Error code: 400 - {'error': {'message': "Invalid schema for function 'add-documents': In context=('properties', 'documents'), array schema missing items.", 'type': 'invalid_request_error', 'param': 'tools[8].parameters', 'code': 'invalid_function_parameters'}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions