显示思考内容

This commit is contained in:
Sirius
2026-08-05 20:04:59 +08:00
parent 98c6664701
commit 64469f9c1d
6 changed files with 76 additions and 5 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ export async function createServer(config: BridgeConfig): Promise<BridgeServer>
let writer: ChatCompletionSseWriter | undefined;
try {
if (parsed.stream) writer = startChatCompletionSse(reply, parsed.model);
if (parsed.stream) writer = startChatCompletionSse(reply, parsed.model, config.stream_thinking);
const result = await runCommandCode(
config,
model.cli_model,