BYOK CustomEndpoint Model only thinks, cannot parse or strip `delta.reasoning`
@vritant24 is already working on this.
Since Jun 26, 2026.
Assessment
This issue has not been assessed yet.
Description
- Copilot Chat Extension Version: GitHub.copilot-chat 0.41
- VS Code Version: 1.126.0
- OS Version: Win 11
- Feature (e.g. agent/edit/ask mode): all responses
- Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): CustomEndpoint (Qwen3-VL-235B-A22B-Thinking-FP8)
Steps to Reproduce:
- Assign a reasoning model as a custom endpoint.
- Ask it to do or say anything.
- Click on the "Finished in.." section when you receive the error to see the thinking.
This does not happen with qwen3.6-27b, which can "think" and "respond" as normal. It seems to be that the extension does not expect and cannot handle delta.reasoning. Here is a partial raw response to a "Hello" outside of GHCchat:
curl ... '{"model":"billiken-coder-prodigy","messages":[{"role":"user","content":"Hello"}],"stream":true}'
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"prompt_token_ids":null,"prompt_text":null}
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"reasoning":"Okay"},"logprobs":null,"finish_reason":null,"token_ids":null}]}
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"reasoning":","},"logprobs":null,"finish_reason":null,"token_ids":null}]}
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"reasoning":" the"},"logprobs":null,"finish_reason":null,"token_ids":null}]}
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"reasoning":" user"},"logprobs":null,"finish_reason":null,"token_ids":null}]}
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"reasoning":" said"},"logprobs":null,"finish_reason":null,"token_ids":null}]}
...
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{"content":" 😊"},"logprobs":null,"finish_reason":null,"token_ids":null}]}
data: {"id":"chatcmpl-be7c326e84b87a6e","object":"chat.completion.chunk","created":1782492920,"model":"billiken-coder-prodigy","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null}],"system_fingerprint":"vllm-0.23.0-tp4-ep-68660ca4"}
data: [DONE]
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.9k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·