mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:50:43 +00:00
refactor(plugins): move provider routing metadata to manifests
This commit is contained in:
@@ -17,6 +17,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"providerEndpoints": [
|
||||
{
|
||||
"endpointClass": "openai-public",
|
||||
"hosts": ["api.openai.com"]
|
||||
},
|
||||
{
|
||||
"endpointClass": "openai-codex",
|
||||
"hosts": ["chatgpt.com"]
|
||||
},
|
||||
{
|
||||
"endpointClass": "azure-openai",
|
||||
"hostSuffixes": [".openai.azure.com"]
|
||||
}
|
||||
],
|
||||
"providerRequest": {
|
||||
"providers": {
|
||||
"openai": {
|
||||
"family": "openai-family"
|
||||
},
|
||||
"openai-codex": {
|
||||
"family": "openai-family"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cliBackends": ["codex-cli"],
|
||||
"providerAuthEnvVars": {
|
||||
"openai": ["OPENAI_API_KEY"]
|
||||
|
||||
Reference in New Issue
Block a user