Skip to content

[BUG] Invalid schema in CodeCompanion #133

@blankenshipz

Description

@blankenshipz

I sporadically get this bug when adding vectorcode to the context, not exactly sure if this is a CodeCompanion issue or a vectorcode issue. I'll add more details if I can nail down a way to reproduce

[ERROR] 2025-05-13 16:12:50
Error: {
  "error": {
    "message": "Invalid schema for function 'vectorcode': In context=('properties', 'options'), 'required' is required to be supplied and to be an array including every key in properties. Missing 'count'.",
    "type": "invalid_request_error",
    "param": "tools[2].function.parameters",
    "code": "invalid_function_parameters"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions