Skip to content

Check that a model can call tools before using it - #2

Merged
isaiahagi merged 3 commits into
mainfrom
feat/tool-support-check
Nov 29, 2026
Merged

isaiahagi merged 3 commits into
mainfrom
feat/tool-support-check

Conversation

@isaiahagi

Copy link
Copy Markdown
Owner

What

  • Ask Ollama which capabilities each model has (/api/show)
  • The model picker only offers models that can call tools, and names the hidden ones
  • --model with a model that cannot call tools explains why and suggests others
  • doctor lists both groups

Why

Picking a model without tool support (for example gemma3:4b) failed with a raw HTTP 400 only after the first request.

Testing

New unit tests, plus a manual run against a local Ollama 0.40 with eight models: gemma3:4b was correctly reported as lacking tool support.

LM Studio is left as "unknown", so nothing is hidden there.

🤖 Generated with Claude Code

isaiahagi and others added 3 commits November 29, 2026 14:56
Run the Python tests on three operating systems with Python 3.10 and 3.13,
build and install the package, and check that every file in the Unity
package has a .meta file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Ask Ollama for each model's capabilities. The model picker hides models
that cannot call tools, naming one with --model explains the problem and
suggests others, and doctor lists both groups.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@isaiahagi
isaiahagi merged commit a7bfa54 into main Nov 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant