@qilin-agent/web-search-deepseek 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/provider.d.ts +1 -1
- package/package.json +18 -18
package/README.i18n.yaml
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
en: 942798c9aa6ba90f
|
|
22
22
|
zh: 800ddd760ff4ae0b
|
|
23
23
|
/qilin-agent-web-search-deepseek/use-this-package/minimal-configuration:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: 0cd9c66a9105813e
|
|
25
|
+
zh: 826bd8a8bb50820e
|
|
26
26
|
/qilin-agent-web-search-deepseek/use-this-package/what-a-search-returns:
|
|
27
27
|
en: e30442c90365357b
|
|
28
28
|
zh: 9c9e2f1182963a8a
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Load the web service and the provider; the key resolves from `ctx.credentials` w
|
|
|
48
48
|
| `apiKey` | omitted | Literal DeepSeek API key; prefer `apiKeyEnv` so no secret enters configuration. A non-empty literal wins |
|
|
49
49
|
| `apiKeyEnv` | `DEEPSEEK_API_KEY` | Credential reference resolved for each search through `ctx.credentials`, or from the process environment when that service is absent. A missing value fails the call as `WEB_PROVIDER_CREDENTIAL_MISSING` |
|
|
50
50
|
| `baseURL` | `https://api.deepseek.com/anthropic/v1` | Anthropic-compatible endpoint base; `/messages` is appended. Falls back to `$DEEPSEEK_SEARCH_BASE_URL`; an unparseable value makes the provider unavailable |
|
|
51
|
-
| `model` | `deepseek-
|
|
51
|
+
| `model` | `deepseek-flash` | Anthropic-format model name |
|
|
52
52
|
| `apiVersion` | `2023-06-01` | `anthropic-version` header value |
|
|
53
53
|
| `maxTokens` | `4096` | Positive-integer upper bound on generated tokens for the Messages request |
|
|
54
54
|
| `maxUses` | `5` | Positive-integer maximum `web_search` server-tool uses per request |
|
package/README.zh.md
CHANGED
|
@@ -48,7 +48,7 @@ kind: "package-reference"
|
|
|
48
48
|
| `apiKey` | 未设置 | DeepSeek API 密钥字面值;优先使用 `apiKeyEnv`,避免密钥进入配置。非空字面值优先 |
|
|
49
49
|
| `apiKeyEnv` | `DEEPSEEK_API_KEY` | 每次搜索通过 `ctx.credentials` 解析的凭据引用;没有该服务时从进程环境解析。值缺失时调用以 `WEB_PROVIDER_CREDENTIAL_MISSING` 失败 |
|
|
50
50
|
| `baseURL` | `https://api.deepseek.com/anthropic/v1` | Anthropic 兼容端点基址;追加 `/messages`。缺省时回退到 `$DEEPSEEK_SEARCH_BASE_URL`;无法解析时提供方不可用 |
|
|
51
|
-
| `model` | `deepseek-
|
|
51
|
+
| `model` | `deepseek-flash` | Anthropic 格式模型名称 |
|
|
52
52
|
| `apiVersion` | `2023-06-01` | `anthropic-version` 标头值 |
|
|
53
53
|
| `maxTokens` | `4096` | Messages 请求生成 token 的正整数上限 |
|
|
54
54
|
| `maxUses` | `5` | 每次请求使用 `web_search` 服务器工具的正整数上限 |
|
package/lib/index.js
CHANGED
|
@@ -19,7 +19,7 @@ const DEEPSEEK_PROVIDER_ID = "deepseek-official";
|
|
|
19
19
|
*/
|
|
20
20
|
const DEEPSEEK_DEFAULT_BASE_URL = "https://api.deepseek.com/anthropic/v1";
|
|
21
21
|
/** Default Anthropic-format model name (aligned with the repo's DeepSeek model vocabulary). */
|
|
22
|
-
const DEEPSEEK_DEFAULT_MODEL = "deepseek-
|
|
22
|
+
const DEEPSEEK_DEFAULT_MODEL = "deepseek-flash";
|
|
23
23
|
/** Default `anthropic-version` header value. */
|
|
24
24
|
const DEEPSEEK_DEFAULT_API_VERSION = "2023-06-01";
|
|
25
25
|
/** Default upper bound on generated tokens for the Messages request. */
|
package/lib/types/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface Config {
|
|
|
21
21
|
apiKeyEnv: Volatile<string>;
|
|
22
22
|
/** Anthropic-compatible endpoint base; `/messages` is appended. */
|
|
23
23
|
baseURL: Volatile<string | undefined>;
|
|
24
|
-
/** Anthropic-format model name. Defaults to `deepseek-
|
|
24
|
+
/** Anthropic-format model name. Defaults to `deepseek-flash`. */
|
|
25
25
|
model: Volatile<string>;
|
|
26
26
|
/** `anthropic-version` header value. Defaults to `2023-06-01`. */
|
|
27
27
|
apiVersion: Volatile<string>;
|
package/lib/types/provider.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const DEEPSEEK_PROVIDER_ID = "deepseek-official";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const DEEPSEEK_DEFAULT_BASE_URL = "https://api.deepseek.com/anthropic/v1";
|
|
19
19
|
/** Default Anthropic-format model name (aligned with the repo's DeepSeek model vocabulary). */
|
|
20
|
-
export declare const DEEPSEEK_DEFAULT_MODEL = "deepseek-
|
|
20
|
+
export declare const DEEPSEEK_DEFAULT_MODEL = "deepseek-flash";
|
|
21
21
|
/** Default `anthropic-version` header value. */
|
|
22
22
|
export declare const DEEPSEEK_DEFAULT_API_VERSION = "2023-06-01";
|
|
23
23
|
/** Default upper bound on generated tokens for the Messages request. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qilin-agent/web-search-deepseek",
|
|
3
3
|
"description": "DeepSeek-backed search provider (native web_search via the Anthropic-compatible API) for the QiLin web capability seam (ctx.web)",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.8",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,26 +30,26 @@
|
|
|
30
30
|
],
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@qilin-agent/agent": "3.1.
|
|
34
|
-
"@qilin-agent/
|
|
35
|
-
"@qilin-agent/
|
|
36
|
-
"@qilin-agent/
|
|
37
|
-
"@qilin-agent/
|
|
38
|
-
"@qilin-agent/
|
|
39
|
-
"@qilin-agent/
|
|
33
|
+
"@qilin-agent/agent": "3.1.8",
|
|
34
|
+
"@qilin-agent/credentials": "3.1.8",
|
|
35
|
+
"@qilin-agent/launch-environment": "3.1.8",
|
|
36
|
+
"@qilin-agent/session": "3.1.8",
|
|
37
|
+
"@qilin-agent/web": "3.1.8",
|
|
38
|
+
"@qilin-agent/kylin": "~4.0.6-alpha.2",
|
|
39
|
+
"@qilin-agent/settings": "3.1.8"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@qilin-agent/schemastery": "~3.18.
|
|
42
|
+
"@qilin-agent/schemastery": "~3.18.6-alpha.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@qilin-agent/agent": "3.1.
|
|
46
|
-
"@qilin-agent/credentials": "3.1.
|
|
47
|
-
"@qilin-agent/credentials-local": "3.1.
|
|
48
|
-
"@qilin-agent/launch-environment": "3.1.
|
|
49
|
-
"@qilin-agent/session": "3.1.
|
|
50
|
-
"@qilin-agent/web": "3.1.
|
|
51
|
-
"@qilin-agent/kylin": "~4.0.
|
|
52
|
-
"@qilin-agent/settings": "3.1.
|
|
53
|
-
"@qilin-agent/http-proxy": "3.1.
|
|
45
|
+
"@qilin-agent/agent": "3.1.8",
|
|
46
|
+
"@qilin-agent/credentials": "3.1.8",
|
|
47
|
+
"@qilin-agent/credentials-local": "3.1.8",
|
|
48
|
+
"@qilin-agent/launch-environment": "3.1.8",
|
|
49
|
+
"@qilin-agent/session": "3.1.8",
|
|
50
|
+
"@qilin-agent/web": "3.1.8",
|
|
51
|
+
"@qilin-agent/kylin": "~4.0.6-alpha.2",
|
|
52
|
+
"@qilin-agent/settings": "3.1.8",
|
|
53
|
+
"@qilin-agent/http-proxy": "3.1.8"
|
|
54
54
|
}
|
|
55
55
|
}
|