Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Update OpenAPI #1089

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,16 @@
"type": "string",
"title": "Name"
},
"config": {
"anyOf": [
{
"$ref": "#/components/schemas/WorkspaceConfig"
},
{
"type": "null"
}
]
},
"rename_to": {
"anyOf": [
{
Expand Down Expand Up @@ -1590,6 +1600,17 @@
},
"MuxRule": {
"properties": {
"provider_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider Name"
},
"provider_id": {
"type": "string",
"title": "Provider Id"
Expand Down Expand Up @@ -1842,6 +1863,27 @@
"is_active"
],
"title": "Workspace"
},
"WorkspaceConfig": {
"properties": {
"system_prompt": {
"type": "string",
"title": "System Prompt"
},
"muxing_rules": {
"items": {
"$ref": "#/components/schemas/MuxRule"
},
"type": "array",
"title": "Muxing Rules"
}
},
"type": "object",
"required": [
"system_prompt",
"muxing_rules"
],
"title": "WorkspaceConfig"
}
}
}
Expand Down