@knyazevai/dsh 0.1.3 → 0.1.5

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/lib/provider.js DELETED
@@ -1,49 +0,0 @@
1
- /** Catalog the DSH bundle patch must keep in sync with cordis.patch.yml. */
2
-
3
- export const PROVIDER_ID = "knyazev-ai";
4
- export const API_KEY_ENV = "KNYAZEV_AI_API_KEY";
5
- export const BASE_URL = "https://knyazevai.work/v1";
6
- export const DEFAULT_MODEL_ID = "deepseek-v4-flash";
7
- export const DEFAULT_REASONING = "max";
8
-
9
- export const REASONING_EFFORTS = Object.freeze({
10
- off: null,
11
- high: "high",
12
- max: "max",
13
- });
14
-
15
- export const MODELS = Object.freeze([
16
- Object.freeze({
17
- id: "deepseek-v4-flash",
18
- name: "DeepSeek V4 Flash",
19
- contextWindow: 400000,
20
- maxTokens: 40000,
21
- reasoningEfforts: REASONING_EFFORTS,
22
- }),
23
- Object.freeze({
24
- id: "kimi-2.6",
25
- name: "Kimi 2.6",
26
- contextWindow: 262144,
27
- maxTokens: 40000,
28
- reasoningEfforts: REASONING_EFFORTS,
29
- }),
30
- Object.freeze({
31
- id: "minimax-2.7",
32
- name: "MiniMax 2.7",
33
- contextWindow: 204800,
34
- maxTokens: 40000,
35
- }),
36
- ]);
37
-
38
- export const PROVIDER = Object.freeze({
39
- displayName: "Knyazev AI",
40
- apiKeyEnv: API_KEY_ENV,
41
- api: "openai-completions",
42
- baseURL: BASE_URL,
43
- compat: Object.freeze({
44
- thinkingFormat: "qwen",
45
- supportsReasoningEffort: false,
46
- }),
47
- reasoning: DEFAULT_REASONING,
48
- models: MODELS,
49
- });