summaryrefslogtreecommitdiffhomepage
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/chat/ui.test.ts36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/features/chat/ui.test.ts b/src/features/chat/ui.test.ts
index e541015..94db0ae 100644
--- a/src/features/chat/ui.test.ts
+++ b/src/features/chat/ui.test.ts
@@ -329,6 +329,18 @@ describe("ChatView", () => {
chunk: { type: "text", text: "Hello!" },
provisional: false,
},
+ {
+ seq: 3,
+ role: "assistant",
+ chunk: {
+ type: "tool-call",
+ toolCallId: "tc1",
+ toolName: "test",
+ input: {},
+ stepId: "t1#0" as StepId,
+ },
+ provisional: false,
+ },
];
const turnMetrics: TurnMetricsEntry[] = [
@@ -502,6 +514,18 @@ describe("ChatView", () => {
chunk: { type: "text", text: "Response" },
provisional: false,
},
+ {
+ seq: 3,
+ role: "assistant",
+ chunk: {
+ type: "tool-call",
+ toolCallId: "tc1",
+ toolName: "test",
+ input: {},
+ stepId: "t1#0" as StepId,
+ },
+ provisional: false,
+ },
];
const turnMetrics: TurnMetricsEntry[] = [
@@ -547,6 +571,18 @@ describe("ChatView", () => {
chunk: { type: "text", text: "Hello!" },
provisional: false,
},
+ {
+ seq: 3,
+ role: "assistant",
+ chunk: {
+ type: "tool-call",
+ toolCallId: "tc1",
+ toolName: "test",
+ input: {},
+ stepId: "t1#0" as StepId,
+ },
+ provisional: false,
+ },
];
const turnMetrics: TurnMetricsEntry[] = [