mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-09-05 16:23:39 +08:00
fix: prioritize Doubao web search (#93)
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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 官方配置中心"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user