fix: prioritize Doubao web search (#93)

This commit is contained in:
Johnson-LYS
2026-09-01 16:37:39 +08:00
committed by GitHub
parent 3b26ea627d
commit 8157091702
3 changed files with 3 additions and 2 deletions

View File

@@ -196,6 +196,7 @@ describe('真实数据全量校验', () => {
apiKeyRef: 'brave', apiKeyRef: 'brave',
}) })
assert.equal(doubao.enabled, false) assert.equal(doubao.enabled, false)
assert.equal(doubao.priority, 5)
assert.equal(doubao.endpoint, 'https://open.feedcoopapi.com/search_api/global_search') assert.equal(doubao.endpoint, 'https://open.feedcoopapi.com/search_api/global_search')
assert.deepEqual(doubao.auth, { assert.deepEqual(doubao.auth, {
type: 'bearer', type: 'bearer',

View File

@@ -4,7 +4,7 @@
"capability": "web_search", "capability": "web_search",
"enabled": false, "enabled": false,
"builtin": true, "builtin": true,
"priority": 40, "priority": 5,
"endpoint": "https://open.feedcoopapi.com/search_api/global_search", "endpoint": "https://open.feedcoopapi.com/search_api/global_search",
"method": "POST", "method": "POST",
"auth": { "auth": {

View File

@@ -1,6 +1,6 @@
{ {
"version": "1.0.0", "version": "1.0.0",
"presetDataVersion": 108, "presetDataVersion": 109,
"updatedAt": "2026-09-01", "updatedAt": "2026-09-01",
"description": "DesireCore 官方配置中心" "description": "DesireCore 官方配置中心"
} }