feat(web): display reported chat throughput tokens context and cost
This commit is contained in:
@@ -1286,11 +1286,10 @@ test("step started runs the turn and step ended settles it", () => {
|
||||
assert.equal(thread.lastDeltaAt, 0);
|
||||
});
|
||||
|
||||
test("any frame clears the queued flag", () => {
|
||||
test("turn-content frames clear the queued flag", () => {
|
||||
for (const frame of [
|
||||
evt("text", { message_id: "a1", part: { id: "p" }, delta: "x" }),
|
||||
evt("step", { step: { status: "started" } }),
|
||||
evt("usage", { usage: { input_tokens: 1 } }),
|
||||
evt("shell", { shell: { id: "sh1", status: "running" } }),
|
||||
]) {
|
||||
const queued = { ...newChatThread("s1"), queued: true };
|
||||
|
||||
Reference in New Issue
Block a user