Skip to content

Invalid schema for InsertBlock: oneOf is not supported #281

@jamwil

Description

@jamwil

Hmm it doesn't no, but I feel like these things are JSON schemas at the end of the day so I'll merge this and add the oneOf sub schema property to InsertBlock and ShowNumberedContext:

https://json-schema.org/understanding-json-schema/reference/combining

I'm getting an error against openrouter/openai: \"Invalid schema for function 'InsertBlock': schema must have type 'object' and not have 'oneOf'/'anyOf'/'allOf'/'enum'/'not' at the top level.\"

I guess they only support a sub-set of JSON schema.

Originally posted by @jamwil in #275 (comment)

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