indicate running tools
This commit is contained in:
@@ -1110,6 +1110,12 @@ function renderEvent(ev: ByreEvent, ctx: Ctx): HTMLElement | null {
|
||||
}
|
||||
|
||||
case "turn.ended":
|
||||
for (const result of ctx.tools.values()) {
|
||||
if (result.classList.contains("pending")) {
|
||||
result.className = "tool-result unfinished";
|
||||
replace(result, "no result");
|
||||
}
|
||||
}
|
||||
if (p["handoff"] === true) {
|
||||
return h("div", { class: "note" }, "handoff written; continuing in a new session with a fresh context ", when);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user