dsh-any-deepseek 0.0.41 → 0.0.42
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/index.js +9 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2043,9 +2043,17 @@ var AnyDeepSeekAdapter = class extends LlmAdapter {
|
|
|
2043
2043
|
this.deps = deps;
|
|
2044
2044
|
}
|
|
2045
2045
|
providerInfo(provider) {
|
|
2046
|
+
/**
|
|
2047
|
+
* 🔴 The name comes from the ROUTE, not from this plugin's first route.
|
|
2048
|
+
*
|
|
2049
|
+
* Returning `PROVIDER_NAME` unconditionally was correct while there was one route. With two,
|
|
2050
|
+
* it would label `any-hy` as "Any DeepSeek" in every provider selector — the user would pick
|
|
2051
|
+
* Hy4 Flash and see DeepSeek's name on it. Falls back to the plugin name for an id we do not
|
|
2052
|
+
* recognise (an old saved selection), so the answer is never blank.
|
|
2053
|
+
*/
|
|
2046
2054
|
return {
|
|
2047
2055
|
id: provider,
|
|
2048
|
-
name:
|
|
2056
|
+
name: providerRoute(provider)?.name ?? "Any DeepSeek"
|
|
2049
2057
|
};
|
|
2050
2058
|
}
|
|
2051
2059
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-any-deepseek",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "One DeepSeek V4.1 Flash provider for DeepSeek Harness: paste a key per channel, switch channels manually, token usage booked per real upstream.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|