ui: make Llama Chat a plain chat unless llama-server offers agent features (#32949)
Llama Chat showed its tools, MCP and agentic settings and ran the agentic
loop for every server. Now it does so only for a llama-server that offers
its built-in tools or its proxy, which --agent turns on together; the app
reads this from /props and /tools. Without them it is a plain chat: a
message and its reply, with reasoning when the model gives it. The chat
store sends the classic request, the tools store has no tools and the MCP
store connects to no server, so the tools menu, the working folder, the MCP
entry and page, and the Tools and Agentic settings are gone. Tool calls in
earlier conversations still display.
The Show MCP setting moves from General to the Agentic settings, with the
rest of what agent mode adds.
VITE_PUBLIC_AGENTIC=false builds an app that is a plain chat for every
server, and leaves Llama Harness's loop out of the bundle: the harness gets
a ./trace entry with the phrasing alone, and Vite resolves the package to a
small stub that re-exports it. A CI job builds the variant and checks the
loop is not in it.
Assisted-by: Claude (Opus 5.5 Medium)