Better search paths and handling of CLI providers (#5554)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jack Amadeo
2025-11-07 19:35:26 -08:00
committed by GitHub
parent 65b4b2bb18
commit 25dfd768e5
27 changed files with 721 additions and 538 deletions
+64
View File
@@ -382,6 +382,25 @@
}
}
},
"/config/check_provider": {
"post": {
"tags": [
"super::routes::config_management"
],
"operationId": "check_provider",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CheckProviderRequest"
}
}
},
"required": true
},
"responses": {}
}
},
"/config/custom-providers": {
"post": {
"tags": [
@@ -840,6 +859,25 @@
}
}
},
"/config/set_provider": {
"post": {
"tags": [
"super::routes::config_management"
],
"operationId": "set_config_provider",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SetProviderRequest"
}
}
},
"required": true
},
"responses": {}
}
},
"/config/upsert": {
"post": {
"tags": [
@@ -2152,6 +2190,17 @@
}
}
},
"CheckProviderRequest": {
"type": "object",
"required": [
"provider"
],
"properties": {
"provider": {
"type": "string"
}
}
},
"ConfigKey": {
"type": "object",
"description": "Configuration key metadata for provider setup",
@@ -4359,6 +4408,21 @@
}
}
},
"SetProviderRequest": {
"type": "object",
"required": [
"provider",
"model"
],
"properties": {
"model": {
"type": "string"
},
"provider": {
"type": "string"
}
}
},
"Settings": {
"type": "object",
"properties": {