Skip to content

Events not triggered: reasoning content from vLLM BYOK not surfaced in Copilot SDK #1229

@lawrence6140791

Description

@lawrence6140791

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:

  1. Configure Copilot SDK to use BYOK with vLLM as provider (Windows or WSL).
  2. Send a request that should generate reasoning content.
  3. Observe that AssistantMessageDeltaEvent and AssistantReasoningEvent do not fire or do not surface reasoning content.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions