@sparkelf/dsh-patch-responses-reasoning-status 0.2.0-rc.5 → 0.2.0-rc.7
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/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"file": "./patches/responses-reasoning-status.patch",
|
|
9
9
|
"id": "responses-omit-reasoning-input-status",
|
|
10
10
|
"target": {
|
|
11
|
-
"baseRevision": "
|
|
11
|
+
"baseRevision": "ddefc45fbc7f8e46dd73185e68295696d1297887",
|
|
12
12
|
"kind": "dsh-source",
|
|
13
13
|
"paths": [
|
|
14
14
|
"packages/llm/llm-pi-ai/",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
|
|
33
33
|
},
|
|
34
34
|
"type": "module",
|
|
35
|
-
"version": "0.2.0-rc.
|
|
35
|
+
"version": "0.2.0-rc.7"
|
|
36
36
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
diff --git a/packages/client/ui-settings-models/src/client/ModelsSection.module.css b/packages/client/ui-settings-models/src/client/ModelsSection.module.css
|
|
2
|
-
index
|
|
2
|
+
index 15b8933..415126d 100644
|
|
3
3
|
--- a/packages/client/ui-settings-models/src/client/ModelsSection.module.css
|
|
4
4
|
+++ b/packages/client/ui-settings-models/src/client/ModelsSection.module.css
|
|
5
|
-
@@ -397,6 +397,
|
|
5
|
+
@@ -397,6 +397,32 @@
|
|
6
6
|
padding-top: 12px;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -31,11 +31,12 @@ index 2dc7237..f0a9ab9 100644
|
|
|
31
31
|
+ cursor: not-allowed;
|
|
32
32
|
+}
|
|
33
33
|
+
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
+
|
|
35
|
+
.modelCatalog {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
37
38
|
diff --git a/packages/client/ui-settings-models/src/client/ProviderEditor.tsx b/packages/client/ui-settings-models/src/client/ProviderEditor.tsx
|
|
38
|
-
index
|
|
39
|
+
index bc89f43..2533cae 100644
|
|
39
40
|
--- a/packages/client/ui-settings-models/src/client/ProviderEditor.tsx
|
|
40
41
|
+++ b/packages/client/ui-settings-models/src/client/ProviderEditor.tsx
|
|
41
42
|
@@ -44,6 +44,9 @@ type EditorLayout = 'deepseek' | 'pi-ai' | 'unknown'
|
|
@@ -81,7 +82,7 @@ index 3fb057a..ad5ae52 100644
|
|
|
81
82
|
const probeBaseURL = stringAt(draft, 'baseURL') ?? stringAt(fallback, 'baseURL')
|
|
82
83
|
const probe = {
|
|
83
84
|
settingsNs: namespace.ns,
|
|
84
|
-
@@ -
|
|
85
|
+
@@ -436,7 +451,15 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
|
|
85
86
|
value={probeApi ?? ''}
|
|
86
87
|
aria-label={t('customApi')}
|
|
87
88
|
disabled={disabled}
|
|
@@ -98,7 +99,7 @@ index 3fb057a..ad5ae52 100644
|
|
|
98
99
|
>
|
|
99
100
|
{/* A profile naming no protocol — hand-written into
|
|
100
101
|
settings.yaml with no model to need one — selects
|
|
101
|
-
@@ -
|
|
102
|
+
@@ -450,6 +473,24 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
|
|
102
103
|
</div>
|
|
103
104
|
)
|
|
104
105
|
: null}
|
|
@@ -124,10 +125,10 @@ index 3fb057a..ad5ae52 100644
|
|
|
124
125
|
the extras differ — DeepSeek's inherited capacities, pi-ai's
|
|
125
126
|
endpoint interrogation. */}
|
|
126
127
|
diff --git a/packages/client/ui-settings-models/src/client/locales.ts b/packages/client/ui-settings-models/src/client/locales.ts
|
|
127
|
-
index
|
|
128
|
+
index d06ee79..9a623ba 100644
|
|
128
129
|
--- a/packages/client/ui-settings-models/src/client/locales.ts
|
|
129
130
|
+++ b/packages/client/ui-settings-models/src/client/locales.ts
|
|
130
|
-
@@ -
|
|
131
|
+
@@ -89,6 +89,7 @@ export const en = {
|
|
131
132
|
customDisplayName: 'Display name',
|
|
132
133
|
customApi: 'API protocol',
|
|
133
134
|
customApiUnset: 'Not selected',
|
|
@@ -135,7 +136,7 @@ index 0c9b29a..c9956ca 100644
|
|
|
135
136
|
customNeedsBaseUrl: 'A custom provider needs a base URL.',
|
|
136
137
|
customBaseUrlInvalid: 'Enter a valid HTTP or HTTPS URL.',
|
|
137
138
|
customNeedsModels: 'A custom provider needs at least one model.',
|
|
138
|
-
@@ -
|
|
139
|
+
@@ -200,6 +201,7 @@ export const zh: { [Key in keyof typeof en]: string } = {
|
|
139
140
|
customDisplayName: '显示名称',
|
|
140
141
|
customApi: 'API 协议',
|
|
141
142
|
customApiUnset: '未选择',
|
|
@@ -144,7 +145,7 @@ index 0c9b29a..c9956ca 100644
|
|
|
144
145
|
customBaseUrlInvalid: '请输入有效的 HTTP 或 HTTPS 地址。',
|
|
145
146
|
customNeedsModels: '自定义提供方至少需要一个模型。',
|
|
146
147
|
diff --git a/packages/llm/llm-pi-ai/src/adapter.ts b/packages/llm/llm-pi-ai/src/adapter.ts
|
|
147
|
-
index
|
|
148
|
+
index de9f3e0..404b66d 100644
|
|
148
149
|
--- a/packages/llm/llm-pi-ai/src/adapter.ts
|
|
149
150
|
+++ b/packages/llm/llm-pi-ai/src/adapter.ts
|
|
150
151
|
@@ -111,6 +111,24 @@ export interface PiAiAuthInjection {
|