mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #986] Zed says Tools Unsupported: /props has no chat_template_caps #437
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#437
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1it on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/986
What happens
Strata already does tool calls (OpenAI / Anthropic / Responses). Zed still shows Tools Unsupported.
Zed's llama.cpp provider (the one that talks to
/v1/modelsand/props, which Strata already mimics) decides tools fromGET /props→chat_template_caps.supports_toolsorsupports_tool_calls. Strata's/propsnever sends that object, so a loaded model is treated as tools-off.Check
On current main that prints
False None. llama.cpp's/propsincludes bothsupports_toolsandsupports_tool_calls.Fix
Put
chat_template_capson/props(tools, parallel calls, system role, preserve reasoning). Zed then offers tools without a settings override.Note: Zed's generic OpenAI-compatible provider never reads
/props. That path still needs"capabilities": {"tools": true, "chat_completions": true}on the model in Zed's settings. This issue is only the llama.cpp discovery path.@Niko1221 commented on GitHub (Oct 7, 2026):
Fixed in 0.1.40.2: GET /props now reports chat_template_caps (supports_tools, supports_tool_calls, supports_parallel_tool_calls, supports_system_role, supports_preserve_reasoning), so Zed's llama.cpp provider offers tools. total_slots follows --batch and /slots lists every slot with n_prompt_tokens.