dsh-livebench-panel 0.2.4 → 0.2.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/index.js +3 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -769,7 +769,9 @@ function apply(ctx) {
|
|
|
769
769
|
} catch { /* credential seam unavailable — fall through to env */ }
|
|
770
770
|
if (!key && process.env[provider.keyEnv]) key = process.env[provider.keyEnv];
|
|
771
771
|
}
|
|
772
|
-
if (provider.api === "openai-completions") {
|
|
772
|
+
if (provider.api === "openai-completions" || provider.api === "openai-responses" || provider.api === "openai_responses") {
|
|
773
|
+
// openai-responses 与 openai-completions 一样走 --api-base + LIVEBENCH_API_KEY
|
|
774
|
+
// (Responses 客户端同样从 api_dict 读 base_url/api_key)。
|
|
773
775
|
args.push("--api-base", provider.baseURL);
|
|
774
776
|
if (key) env.LIVEBENCH_API_KEY = key;
|
|
775
777
|
} else if (provider.api === "anthropic-messages") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-livebench-panel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "DSH web plugin: a LiveBench tab in the Trajectory view (right of 对话/轨迹). Run LiveBench evaluations against every model configured in the DeepSeek Harness — pick provider/model, category, task, release and question range from dropdowns, watch progress, and read scores in place.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|