web: add chat model picker, agent badges and a preloaded brief
Show the current model under the chat title with an OpenCode-backed picker, put an agent mark on the right of every chat row, simplify the tool summary to 'N tools', and give the reasoning and tool controls one symmetric hover box. New chats preload an editable behavior brief, and the activity spinner remains the turn's single live progress indicator.
This commit is contained in:
@@ -5177,7 +5177,7 @@ try {
|
||||
if (!chipInfo) throw new Error("C6: no tool-call chip rendered in the live transcript");
|
||||
const parsedCount = Number(/(\d+)/.exec(chipInfo.text)?.[1] ?? NaN);
|
||||
const toolCount = Number.isFinite(parsedCount) ? parsedCount : chipInfo.rows;
|
||||
const toolLabel = toolCount === 1 ? "1 tool called" : `${toolCount} tools called`;
|
||||
const toolLabel = toolCount === 1 ? "1 tool" : `${toolCount} tools`;
|
||||
const toolAria =
|
||||
toolCount === 1 ? "1 tool call, expand for details" : `${toolCount} tool calls, expand for details`;
|
||||
if (!chipInfo.text.includes(toolLabel)) {
|
||||
|
||||
Reference in New Issue
Block a user