mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-26 12:32:10 +00:00
fix: Functioncall is actually a bit different than the deprecated function definition type
This commit is contained in:
parent
c1c4dfb521
commit
983b9675d6
@ -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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user