fix: Functioncall is actually a bit different than the deprecated function definition type

This commit is contained in:
Nicolas Casademont 2025-02-04 11:09:55 +01:00 committed by drbh
parent c1c4dfb521
commit 983b9675d6

View File

@ -1527,6 +1527,23 @@
}
}
},
"FunctionDefinitionDeprecated": {
"type": "object",
"required": [
"name",
"arguments"
],
"properties": {
"arguments": {},
"description": {
"type": "string",
"nullable": true
},
"name": {
"type": "string"
}
}
},
"FunctionDefinition": {
"type": "object",
"required": [
@ -2287,7 +2304,7 @@
"$ref": "#/components/schemas/FunctionDefinition"
},
{
"$ref": "#/components/schemas/FunctionCall"
"$ref": "#/components/schemas/FunctionDefinitionDeprecated"
}
]
},