mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 06:04:43 +00:00
wip: pi working
This commit is contained in:
commit
a6064e7027
120 changed files with 15728 additions and 2301 deletions
|
|
@ -10,7 +10,7 @@
|
|||
"license": {
|
||||
"name": "Apache-2.0"
|
||||
},
|
||||
"version": "0.1.6-rc.1"
|
||||
"version": "0.1.7"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
|
|
@ -102,6 +102,47 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/v1/agents/{agent}/models": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"agents"
|
||||
],
|
||||
"operationId": "get_agent_models",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "agent",
|
||||
"in": "path",
|
||||
"description": "Agent id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/AgentModelsResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ProblemDetails"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/agents/{agent}/modes": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
|
@ -669,6 +710,7 @@
|
|||
"mcpTools",
|
||||
"streamingDeltas",
|
||||
"itemStarted",
|
||||
"variants",
|
||||
"sharedProcess"
|
||||
],
|
||||
"properties": {
|
||||
|
|
@ -726,6 +768,9 @@
|
|||
},
|
||||
"toolResults": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"variants": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -832,6 +877,50 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"AgentModelInfo": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"properties": {
|
||||
"defaultVariant": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"variants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"AgentModelsResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"models"
|
||||
],
|
||||
"properties": {
|
||||
"defaultModel": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"models": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/AgentModelInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AgentModesResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue