mirror of
https://github.com/mudler/LocalAI.git
synced 2026-03-31 21:25:59 -04:00
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:
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user