[GH-ISSUE #986] Zed says Tools Unsupported: /props has no chat_template_caps #437

Closed
opened 2026-11-04 01:43:03 +07:00 by bsakaguchi · 1 comment
Owner

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/models and /props, which Strata already mimics) decides tools from GET /props → chat_template_caps.supports_tools or supports_tool_calls. Strata's /props never sends that object, so a loaded model is treated as tools-off.

Check

curl -s http://127.0.0.1:8080/props | python -c "import json,sys; p=json.load(sys.stdin); print('chat_template_caps' in p, p.get('chat_template_caps'))"

On current main that prints False None. llama.cpp's /props includes both supports_tools and supports_tool_calls.

Fix

Put chat_template_caps on /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.

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/models` and `/props`, which Strata already mimics) decides tools from `GET /props` → `chat_template_caps.supports_tools` or `supports_tool_calls`. Strata's `/props` never sends that object, so a loaded model is treated as tools-off. ## Check ``` curl -s http://127.0.0.1:8080/props | python -c "import json,sys; p=json.load(sys.stdin); print('chat_template_caps' in p, p.get('chat_template_caps'))" ``` On current main that prints `False None`. llama.cpp's `/props` includes both `supports_tools` and `supports_tool_calls`. ## Fix Put `chat_template_caps` on `/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.
Author
Owner

@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.

<!-- gh-comment-id:6037927556 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#437
No description provided.