Files
openclaw/extensions/gmi/openclaw.plugin.json
Jason (Json) 55cf9523e0 feat: discover models from live provider catalogs (#112412)
* feat: discover models from live provider catalogs

* fix(provider-catalog): satisfy current catalog contracts

* fix(deps): update fast-uri past new advisory

* fix(deps): refresh fast-uri shrinkwraps

* fix(openrouter): satisfy provider catalog lint

* fix(agents): preserve refreshable catalog metadata

* test(agents): keep catalog fallback proof within lint budget

* fix(provider-catalog): honor live model contracts

* fix(minimax): type discovery headers explicitly

* docs(plugin-sdk): define live model discovery contract
2026-07-21 19:29:57 -06:00

169 lines
4.0 KiB
JSON

{
"id": "gmi",
"name": "GMI Cloud",
"description": "OpenClaw GMI Cloud provider plugin.",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["gmi", "gmi-cloud", "gmicloud"],
"providerAuthAliases": {
"gmi-cloud": "gmi",
"gmicloud": "gmi"
},
"providerEndpoints": [
{
"endpointClass": "gmi-native",
"hosts": ["api.gmi-serving.com"]
}
],
"providerRequest": {
"providers": {
"gmi": {
"family": "gmi"
},
"gmi-cloud": {
"family": "gmi"
},
"gmicloud": {
"family": "gmi"
}
}
},
"setup": {
"providers": [
{
"id": "gmi",
"envVars": ["GMI_API_KEY"]
}
]
},
"providerAuthChoices": [
{
"provider": "gmi",
"method": "api-key",
"choiceId": "gmi-api-key",
"appGuidedSecret": true,
"choiceLabel": "GMI Cloud API key",
"choiceHint": "OpenAI-compatible GMI Cloud endpoint",
"groupId": "gmi",
"groupLabel": "GMI Cloud",
"groupHint": "OpenAI-compatible GMI Cloud endpoint",
"optionKey": "gmiApiKey",
"cliFlag": "--gmi-api-key",
"cliOption": "--gmi-api-key <key>",
"cliDescription": "GMI Cloud API key"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"modelCatalog": {
"aliases": {
"gmi-cloud": {
"provider": "gmi"
},
"gmicloud": {
"provider": "gmi"
}
},
"providers": {
"gmi": {
"baseUrl": "https://api.gmi-serving.com/v1",
"api": "openai-completions",
"models": [
{
"id": "zai-org/GLM-5.1-FP8",
"name": "GLM-5.1 FP8",
"reasoning": true,
"input": ["text"],
"contextWindow": 202752,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "deepseek-ai/DeepSeek-V3.2",
"name": "DeepSeek V3.2",
"reasoning": false,
"input": ["text"],
"contextWindow": 163840,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "moonshotai/Kimi-K2.5",
"name": "Kimi K2.5",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "google/gemini-3.1-flash-lite",
"name": "Gemini 3.1 Flash Lite",
"reasoning": false,
"input": ["text", "image"],
"contextWindow": 1048576,
"maxTokens": 65536,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "anthropic/claude-sonnet-4.6",
"name": "Claude Sonnet 4.6",
"reasoning": false,
"input": ["text", "image"],
"contextWindow": 200000,
"maxTokens": 64000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "openai/gpt-5.4",
"name": "GPT-5.4",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 400000,
"maxTokens": 128000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
}
},
"discovery": {
"gmi": "refreshable"
}
}
}