You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 81b6c40
Browse filesBrowse the repository at this point in the historyBrowse files
feat(opencode): live tool-calling probe; skip tool-less models in auto-pick
A model can advertise tools yet emit the call as plain text (qwen2.5-coder
via Ollama does; upstream anomalyco/opencode#2728, anomalyco/opencode#7030) --
OpenCode has no text fallback, so the session silently does nothing. Config
can't fix it: verified against opencode 1.17.13 source that tool_call
defaults to true and is metadata-only on 1.17.x.
- local_llm.rs: probe_tool_call command -- one real /chat/completions
request with a trivial tool; verdict = native tool_calls present vs
call-written-as-text vs no call (pure parser, fixtures captured live
from Ollama 0.30.10: qwen3:30b-a3b native ok, qwen2.5-coder:7b text).
- Panel: "Test tool-calling" button with verdict note; dropdown marks
"no tools" models; warning when the selected model reports no tools;
auto-pick now excludes tools=false models (bge-m3, deepseek-r1, phi)
unless nothing else is served.
(cherry picked from commit c562cc8)
if !base.starts_with("http://") && !base.starts_with("https://"){
376
+
returnErr("base URL must start with http:// or https://".to_string());
0 commit comments