v2.0.1:修复推理型模型(Qwen3/DeepSeek reasoning_content)误报未收到输出+连接测试按连通判定+采样失败不中断+流式超时放宽60s/300s
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ async function testConnection() {
|
||||
if (r.ok) {
|
||||
const m = r.metrics || {};
|
||||
showConn(true,
|
||||
`✅ 连接成功(${r.total_ms}ms)| 首字 ${fmt(m.ttft_ms)}ms | 提示词 ${fmt(m.prompt_tokens)} tok | 输出 ${fmt(m.output_tokens)} tok`);
|
||||
`✅ 连接成功(${r.total_ms}ms)| 首字 ${fmt(m.ttft_ms)}ms | 提示词 ${fmt(m.prompt_tokens)} tok | 输出 ${fmt(m.output_tokens)} tok${r.note ? " " + r.note : ""}`);
|
||||
} else {
|
||||
showConn(false, "❌ " + (r.error || "连接失败"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user