feat(swagger): update swagger (#8961)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
LocalAI [bot]andmudler authored and GitHub committed 2026-03-11 22:01:55 +01:00
1 parent bf4f8da266
commit 996dd7652f
3 files changed
+11 -3

No files matched your search

+4 -1
View File
@@ -1176,7 +1176,7 @@ const docTemplate = `{
},
"/v1/mcp/chat/completions": {
"post": {
"summary": "Stream MCP chat completions with reasoning, tool calls, and results",
"summary": "MCP chat completions with automatic tool execution",
"parameters": [
{
"description": "query params",
@@ -2608,6 +2608,9 @@ const docTemplate = `{
"type": "string"
}
},
"tool_call_id": {
"type": "string"
},
"tool_calls": {
"type": "array",
"items": {
+4 -1
View File
@@ -1169,7 +1169,7 @@
},
"/v1/mcp/chat/completions": {
"post": {
"summary": "Stream MCP chat completions with reasoning, tool calls, and results",
"summary": "MCP chat completions with automatic tool execution",
"parameters": [
{
"description": "query params",
@@ -2601,6 +2601,9 @@
"type": "string"
}
},
"tool_call_id": {
"type": "string"
},
"tool_calls": {
"type": "array",
"items": {
+3 -1
View File
@@ -745,6 +745,8 @@ definitions:
items:
type: string
type: array
tool_call_id:
type: string
tool_calls:
items:
$ref: '#/definitions/schema.ToolCall'
@@ -2339,7 +2341,7 @@ paths:
description: Response
schema:
$ref: '#/definitions/schema.OpenAIResponse'
summary: Stream MCP chat completions with reasoning, tool calls, and results
summary: MCP chat completions with automatic tool execution
/v1/messages:
post:
parameters: