mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-10 00:08:42 -04:00
feat(swagger): update swagger (#10745)
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:
@@ -3966,12 +3966,18 @@ const docTemplate = `{
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"signature": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/schema.AnthropicImageSource"
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"thinking": {
|
||||
"type": "string"
|
||||
},
|
||||
"tool_use_id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4039,6 +4045,14 @@ const docTemplate = `{
|
||||
"temperature": {
|
||||
"type": "number"
|
||||
},
|
||||
"thinking": {
|
||||
"description": "Thinking gates extended-thinking output. We only surface thinking\ncontent blocks when the client explicitly opts in, matching Anthropic's\nAPI where thinking is off unless requested.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/schema.AnthropicThinkingParam"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tool_choice": {},
|
||||
"tools": {
|
||||
"type": "array",
|
||||
@@ -4086,6 +4100,18 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.AnthropicThinkingParam": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"budget_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"type": {
|
||||
"description": "\"enabled\" | \"disabled\"",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.AnthropicTool": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -3963,12 +3963,18 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"signature": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/schema.AnthropicImageSource"
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"thinking": {
|
||||
"type": "string"
|
||||
},
|
||||
"tool_use_id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4036,6 +4042,14 @@
|
||||
"temperature": {
|
||||
"type": "number"
|
||||
},
|
||||
"thinking": {
|
||||
"description": "Thinking gates extended-thinking output. We only surface thinking\ncontent blocks when the client explicitly opts in, matching Anthropic's\nAPI where thinking is off unless requested.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/schema.AnthropicThinkingParam"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tool_choice": {},
|
||||
"tools": {
|
||||
"type": "array",
|
||||
@@ -4083,6 +4097,18 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.AnthropicThinkingParam": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"budget_tokens": {
|
||||
"type": "integer"
|
||||
},
|
||||
"type": {
|
||||
"description": "\"enabled\" | \"disabled\"",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.AnthropicTool": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -516,10 +516,14 @@ definitions:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
signature:
|
||||
type: string
|
||||
source:
|
||||
$ref: '#/definitions/schema.AnthropicImageSource'
|
||||
text:
|
||||
type: string
|
||||
thinking:
|
||||
type: string
|
||||
tool_use_id:
|
||||
type: string
|
||||
type:
|
||||
@@ -564,6 +568,13 @@ definitions:
|
||||
type: string
|
||||
temperature:
|
||||
type: number
|
||||
thinking:
|
||||
allOf:
|
||||
- $ref: '#/definitions/schema.AnthropicThinkingParam'
|
||||
description: |-
|
||||
Thinking gates extended-thinking output. We only surface thinking
|
||||
content blocks when the client explicitly opts in, matching Anthropic's
|
||||
API where thinking is off unless requested.
|
||||
tool_choice: {}
|
||||
tools:
|
||||
items:
|
||||
@@ -595,6 +606,14 @@ definitions:
|
||||
usage:
|
||||
$ref: '#/definitions/schema.AnthropicUsage'
|
||||
type: object
|
||||
schema.AnthropicThinkingParam:
|
||||
properties:
|
||||
budget_tokens:
|
||||
type: integer
|
||||
type:
|
||||
description: '"enabled" | "disabled"'
|
||||
type: string
|
||||
type: object
|
||||
schema.AnthropicTool:
|
||||
properties:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user