-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI features
Description
Summary
SUMMARY_SENTENCE_HERE
Description
Steps to trigger the problem:
- use openai compatible provider (self-hosted qwen model)
- as some questions about the project, which will let the LLM list dir
- wait response
Expected Behavior:
zed AI can work
Actual Behavior:
zed logs report
2025-09-18T18:44:46+08:00 ERROR [open_ai] Failed to parse OpenAI response into ResponseStreamResult: `data did not match any variant of untagged enum ResponseStreamResult`
Response: `{"id":"8b98f5df7c9d49c5d519c01554ab5b30","model":"qwen3-coder-480b-a35b-instruct","object":"chat.completion.chunk","created":1758192286,"choices":[{"index":0,"delta":{"role":"assistant","content":"","tool_calls":[{"id":"call_63bfce97a05146819b8af1c1","type":"function","function":{"name":"list_directory","arguments":""}}]}}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0,"prompt_tokens_details":{"cache_read_tokens":0,"cache_creation_tokens":0}}}`
2025-09-18T18:44:46+08:00 ERROR [agent2::thread] Turn execution failed: data did not match any variant of untagged enum ResponseStreamResult
2025-09-18T18:44:46+08:00 ERROR [agent2::agent] Error in model response stream: data did not match any variant of untagged enum ResponseStreamResult
Model Provider Details
- Provider: openai compatible provider (self-hosted qwen model)
- Model Name: qwen3-coder-480b-a35b-instruct
- Mode: Agent Panel
- Other Details (MCPs, other settings, etc): default rule is
always resoned on 中文
Zed Version and System Specs
Zed: v0.204.1 (Zed) OS: Linux Wayland arch unknown Memory: 62.4 GiB Architecture: x86_64 GPU: Intel(R) Graphics (RPL-S) || Intel open-source Mesa driver || Mesa 25.2.3-arch1.1
Metadata
Metadata
Assignees
Labels
aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI features