chore: make non-i18n code English-only (#117)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-29 18:03:41 +08:00
committed by GitHub
parent f63037866e
commit 4681135423
19 changed files with 113 additions and 106 deletions
+4 -2
View File
@@ -147,12 +147,14 @@ describe("StreamRenderer", () => {
partialToolCall({
eventType: "delta",
name: "",
arguments: '"description":"列出当前目录的文件"}',
arguments: '"description":"List files in the current directory"}',
toolCallId: "c9",
}),
);
r.handle(partialToolCall({ eventType: "stop", name: "", toolCallId: "c9" }));
expect(stripAnsi(text())).toBe("[tool-c9] exec_command <- 列出当前目录的文件 ($ ls -la)\n");
expect(stripAnsi(text())).toBe(
"[tool-c9] exec_command <- List files in the current directory ($ ls -la)\n",
);
});
it("streams the command live when the schema has no description argument", () => {