mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-08 10:02:56 +08:00
* feat(macos): load onboarding providers from gateway * test(crestodian): widen setup config mock * fix(crestodian): satisfy onboarding lint gate * chore(macos): refresh onboarding localization inventory * test(plugins): cover guided Copilot secret metadata
152 lines
4.2 KiB
JSON
152 lines
4.2 KiB
JSON
{
|
|
"id": "tencent",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providerCatalogEntry": "./provider-discovery.ts",
|
|
"providers": ["tencent-tokenhub", "tencent-tokenplan"],
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"tencent-tokenhub": {
|
|
"baseUrl": "https://tokenhub.tencentmaas.com/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "hy3-preview",
|
|
"name": "Hy3 preview (TokenHub)",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 64000,
|
|
"cost": {
|
|
"input": 0.176,
|
|
"output": 0.587,
|
|
"cacheRead": 0.059,
|
|
"cacheWrite": 0,
|
|
"tieredPricing": [
|
|
{
|
|
"input": 0.176,
|
|
"output": 0.587,
|
|
"cacheRead": 0.059,
|
|
"cacheWrite": 0,
|
|
"range": [0, 16000]
|
|
},
|
|
{
|
|
"input": 0.235,
|
|
"output": 0.939,
|
|
"cacheRead": 0.088,
|
|
"cacheWrite": 0,
|
|
"range": [16000, 32000]
|
|
},
|
|
{
|
|
"input": 0.293,
|
|
"output": 1.173,
|
|
"cacheRead": 0.117,
|
|
"cacheWrite": 0,
|
|
"range": [32000]
|
|
}
|
|
]
|
|
},
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"supportsReasoningEffort": true,
|
|
"supportedReasoningEfforts": ["none", "low", "high"]
|
|
}
|
|
},
|
|
{
|
|
"id": "hy3",
|
|
"name": "Hy3 (TokenHub)",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 64000,
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"supportsReasoningEffort": true,
|
|
"supportedReasoningEfforts": ["none", "high"]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"tencent-tokenplan": {
|
|
"baseUrl": "https://api.lkeap.cloud.tencent.com/plan/v3",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "hy3",
|
|
"name": "Hy3 (TokenPlan)",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 64000,
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"supportsReasoningEffort": true,
|
|
"supportedReasoningEfforts": ["none", "high"]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"tencent-tokenhub": "static",
|
|
"tencent-tokenplan": "static"
|
|
}
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "tencent-tokenhub",
|
|
"envVars": ["TOKENHUB_API_KEY"]
|
|
},
|
|
{
|
|
"id": "tencent-tokenplan",
|
|
"envVars": ["TOKENPLAN_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"configContracts": {
|
|
"compatibilityMigrationPaths": [
|
|
"models.providers.tencent-tokenhub",
|
|
"agents.defaults.models.tencent-tokenhub/hy3",
|
|
"agents.defaults.models.tencent-tokenhub/hy3-preview"
|
|
]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "tencent-tokenhub",
|
|
"method": "api-key",
|
|
"choiceId": "tokenhub-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "Tencent TokenHub",
|
|
"groupId": "tencent",
|
|
"groupLabel": "Tencent Cloud",
|
|
"groupHint": "Tencent TokenHub",
|
|
"optionKey": "tokenhubApiKey",
|
|
"cliFlag": "--tokenhub-api-key",
|
|
"cliOption": "--tokenhub-api-key <key>",
|
|
"cliDescription": "Tencent TokenHub API key"
|
|
},
|
|
{
|
|
"provider": "tencent-tokenplan",
|
|
"method": "api-key",
|
|
"choiceId": "tokenplan-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "Tencent TokenPlan",
|
|
"groupId": "tencent",
|
|
"groupLabel": "Tencent Cloud",
|
|
"groupHint": "Tencent TokenPlan",
|
|
"optionKey": "tokenplanApiKey",
|
|
"cliFlag": "--tokenplan-api-key",
|
|
"cliOption": "--tokenplan-api-key <key>",
|
|
"cliDescription": "Tencent TokenPlan API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|