When using GitHub Copilot SDK with BYOK (Bring Your Own Key) and vLLM as the provider, reasoning content returned by vLLM in the reasoning field is not processed. As a result, key events such as AssistantMessageDeltaEvent and AssistantReasoningEvent are not triggered as expected, and the reasoning data is not received by the client.
Steps to reproduce:
- Configure Copilot SDK to use BYOK with vLLM as provider (Windows or WSL).
- Send a request that should generate reasoning content.
- Observe that AssistantMessageDeltaEvent and AssistantReasoningEvent do not fire or do not surface reasoning content.
- Inspect API response: vLLM returns reasoning in
reasoning, but SDK only checks reasoning_content.
Expected behavior:
Copilot SDK should handle both reasoning and reasoning_content fields, so events work and reasoning data is surfaced, regardless of provider.
Context:
- Environment: Windows, WSL
- Copilot SDK version: 0.3.0
- Copilot Cli version: v1.0.43
- BYOK provider: vLLM
When using GitHub Copilot SDK with BYOK (Bring Your Own Key) and vLLM as the provider, reasoning content returned by vLLM in the
reasoningfield is not processed. As a result, key events such as AssistantMessageDeltaEvent and AssistantReasoningEvent are not triggered as expected, and the reasoning data is not received by the client.Steps to reproduce:
reasoning, but SDK only checksreasoning_content.Expected behavior:
Copilot SDK should handle both
reasoningandreasoning_contentfields, so events work and reasoning data is surfaced, regardless of provider.Context: