Skip to content

function calling gemini problem #73

@phact

Description

@phact

400: Error: litellm.BadRequestError: VertexAIException BadRequestError
Invalid JSON payload received. Unknown name "examples" at 'tools[0].function_declarations[0].parameters.properties[0].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[0].parameters.properties[0].value': Cannot find field.
Invalid JSON payload received. Unknown name "examples" at 'tools[0].function_declarations[0].parameters.properties[1].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[0].parameters.properties[1].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[0].parameters.properties[2].value': Cannot find field.
Invalid JSON payload received. Unknown name "default" at 'tools[0].function_declarations[1].parameters.properties[0].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[1].parameters.properties[0].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[2].parameters.properties[0].value': Cannot find field.
Invalid JSON payload received. Unknown name "$defs" at 'tools[0].function_declarations[3].parameters': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[3].parameters.properties[0].value': Cannot find field.
Invalid JSON payload received. Unknown name "$ref" at 'tools[0].function_declarations[3].parameters.properties[1].value.all_of[0]': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[3].parameters.properties[2].value': Cannot find field.
Invalid value at 'tools[0].function_declarations[3].parameters.properties[3].value.any_of[1].type' (type.googleapis.com/google.ai.generativelanguage.v1beta.Type), "null"
Invalid JSON payload received. Unknown name "default" at 'tools[0].function_declarations[3].parameters.properties[3].value': Cannot find field.
Invalid JSON payload received. Unknown name "examples" at 'tools[0].function_declarations[3].parameters.properties[3].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[3].parameters.properties[3].value': Cannot find field.
Invalid value at 'tools[0].function_declarations[3].parameters.properties[4].value.any_of[1].type' (type.googleapis.com/google.ai.generativelanguage.v1beta.Type), "null"
Invalid JSON payload received. Unknown name "default" at 'tools[0].function_declarations[3].parameters.properties[4].value': Cannot find field.
Invalid JSON payload received. Unknown name "title" at 'tools[0].function_declarations[3].parameters.properties[4].value': Cannot find field.

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