* claim: #4846 * Warn when Ollama models lack tool support (#4846) Check Ollama model capabilities in the background and cache results per endpoint and model. Show an advisory warning for models without tools, expose it through ui.agent_chat, and document the behavior. Cover capability parsing, warning selection, background probing, caching, and selection changes with synthetic regression tests. * Keep the Ollama capability probe out of the web build The panel never calls it there, so it would only be dead code. * Wrap the model warning instead of cutting it off In a narrow panel the end of the sentence, the part that says what to do, was truncated. * Fix AgentConfig default after rebase onto main Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Move the Ollama no-tools warning into a pending locale file with ja and zh Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -224,6 +224,13 @@ Grok Build also supports `XAI_API_KEY` for users who choose API authentication.
|
||||
endpoint's entry under **Agents**, where a change applies from the next request. A request that
|
||||
runs out of time ends the message with the limit it hit and where to raise it.
|
||||
|
||||
For Ollama, choosing a model checks its reported capabilities in the background. If its
|
||||
capabilities list lacks `tools`, a warning below the model picker explains that the model can
|
||||
only chat and suggests choosing one with tool support. Results are cached in memory per base URL and
|
||||
model, with a limit of 128 entries. SolidCraft recognises Ollama through `/api/version` at the
|
||||
endpoint's origin or the Ollama preset. Failed checks and older servers without a capabilities
|
||||
field show no warning. The check never blocks sending a message.
|
||||
|
||||
### An agent inside WSL (Windows)
|
||||
|
||||
An agent installed inside WSL keeps its own settings, skills and sign-in there. Add it as a
|
||||
|
||||
Reference in New Issue
Block a user