]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: enable the agentic flow when only the JS sandbox is active (#25865)
authorPascal <redacted>
Mon, 20 Jul 2026 14:22:16 +0000 (16:22 +0200)
committerGitHub <redacted>
Mon, 20 Jul 2026 14:22:16 +0000 (16:22 +0200)
commit1521a9ac31601e914513314331635272ad07541b
tree75814cdbb24dc7dddfeb516d00467006bc02657f
parent178a6c44937154dc4c4eff0d166f4a044c4fceba
ui: enable the agentic flow when only the JS sandbox is active (#25865)

The agentic gate counted MCP servers, builtin and custom tools but not
frontend tools, so with the JS sandbox as the only tool source the
agentic flow was skipped, no tools field reached the server and the
chat template rendered without the tool system prompt.

The sandbox is fully client-side: frontendTools derives from the
Developer settings toggle alone, counting it in the gate restores that
single source of truth.
tools/ui/src/lib/stores/agentic.svelte.ts