mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-09-05 18:34:35 +08:00
refactor: consolidate smart routing into model specs (#75)
This commit is contained in:
@@ -5,12 +5,23 @@
|
||||
"id": "sonar-pro",
|
||||
"displayName": "Sonar Pro",
|
||||
"family": "sonar-pro",
|
||||
"match": { "exact": ["sonar-pro"] },
|
||||
"match": {
|
||||
"exact": [
|
||||
"sonar-pro"
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": ["chat", "web_search", "reasoning", "citation"],
|
||||
"serviceType": ["chat"],
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"web_search",
|
||||
"reasoning",
|
||||
"citation"
|
||||
],
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "Perplexity 旗舰搜索增强模型,内置实时联网搜索和引用,200K 上下文"
|
||||
}
|
||||
},
|
||||
@@ -18,12 +29,26 @@
|
||||
"id": "sonar-reasoning-pro",
|
||||
"displayName": "Sonar Reasoning Pro",
|
||||
"family": "sonar-reasoning",
|
||||
"match": { "exact": ["sonar-reasoning-pro"], "patterns": ["sonar-reasoning*"] },
|
||||
"match": {
|
||||
"exact": [
|
||||
"sonar-reasoning-pro"
|
||||
],
|
||||
"patterns": [
|
||||
"sonar-reasoning*"
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": ["chat", "web_search", "reasoning", "deep_thinking"],
|
||||
"serviceType": ["chat"],
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"web_search",
|
||||
"reasoning",
|
||||
"deep_thinking"
|
||||
],
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"defaultTemperature": null,
|
||||
"supportsReasoning": true,
|
||||
"description": "Perplexity 深度推理模型,内置联网搜索和深度思考"
|
||||
@@ -33,12 +58,26 @@
|
||||
"id": "sonar",
|
||||
"displayName": "Sonar",
|
||||
"family": "sonar",
|
||||
"match": { "exact": ["sonar"], "patterns": ["sonar-*"] },
|
||||
"match": {
|
||||
"exact": [
|
||||
"sonar"
|
||||
],
|
||||
"patterns": [
|
||||
"sonar-*"
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 4096,
|
||||
"capabilities": ["chat", "web_search", "citation", "fast"],
|
||||
"serviceType": ["chat"],
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"web_search",
|
||||
"citation",
|
||||
"fast"
|
||||
],
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "Perplexity 轻量搜索模型,低成本联网搜索"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user