]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
UI: fix Settings/Display tool call content toggle (#25783)
authorPascal <redacted>
Mon, 20 Jul 2026 14:28:24 +0000 (16:28 +0200)
committerGitHub <redacted>
Mon, 20 Jul 2026 14:28:24 +0000 (16:28 +0200)
commit43b5e63589468cb29a65e460e218fc831f22f4ef
treee57d6f1e24a203481d03c14dc5aa08194ce7abf3
parent1521a9ac31601e914513314331635272ad07541b
UI: fix Settings/Display tool call content toggle (#25783)

* ui: fix Show tool call in progress toggle ignored

The showToolCallInProgress setting was disconnected from the render
path during the agentic content rework: getDefaultExpanded() returns
a hardcoded false for tool call sections and an unconditional effect
auto-expands the currently executing tool call regardless of the
setting.

Drive default expansion of all tool call section types from the
setting and remove the now redundant auto-expand effect. Manual
toggling still takes precedence over the default in both directions.

* ui: rename Show tool call in progress to Always show tool call content

The previous name suggested symmetry with Show thought in progress,
which only applies while inference is running, but tool call content
stays expanded after completion. Rename the label, the settings key
and the syncable server key to alwaysShowToolCallContent. The synced
parameter never worked under its previous name so no migration is
needed.
tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageAgenticContent.svelte
tools/ui/src/lib/constants/settings-keys.ts
tools/ui/src/lib/constants/settings-registry.ts