gpt走代理

This commit is contained in:
Sirius
2026-08-07 16:03:58 +08:00
parent e236721db1
commit 4e785d7714
3 changed files with 27 additions and 4 deletions
+2 -1
View File
@@ -52,12 +52,13 @@ export class TerminalRenderer {
private answerStarted = false;
private thinkingShown = false;
begin(model: string, effort: string): void {
begin(model: string, effort: string, proxy?: string): void {
this.answerStarted = false;
this.thinkingShown = false;
process.stdout.write(`\n${cyan("━━━━━━━━ Command Code 请求 ━━━━━━━━")}\n`);
process.stdout.write(`${dim("模型")} ${model}\n`);
process.stdout.write(`${dim("思考深度")} ${effort}\n`);
if (proxy) process.stdout.write(`${dim("代理")} ${proxy}\n`);
}
event(event: Record<string, unknown>): void {