Responses API: AssistantReasoningDeltaEvent and AssistantReasoningEvent triggered with empty content via BYOK providers (Copilot CLI)
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### Describe the bug
When using GitHub Copilot CLI (or SDK) with BYOK—either OpenAI or vLLM—for Responses API, both AssistantReasoningDeltaEvent and AssistantReasoningEvent are triggered but with empty content, even if the provider's response includes reasoning content.
### Affected version
1.0.43
### Steps to reproduce the behavior
1. Set up Copilot CLI to use BYOK, OpenAI or vLLM provider (Windows/WSL). Sample .NET code for SDK (works similarly with CLI):
```csharp
await using var session = await client.CreateSessionAsync(new SessionConfig
{
Provider = new ProviderConfig
{
Type = "openai",
BaseUrl = "https://api.openai.com/v1",
ApiKey = "your_api_key",
WireApi = "responses",
},
ReasoningEffort = "high",
Model = "gpt-5.4-2026-03-05",
OnPermissionRequest = PermissionHandler.ApproveAll,
Streaming = true
});
```
2. Trigger completions or calls that should generate reasoning via the Responses API.
3. See that the events are always empty.
### Expected behavior
These events should present the reasoning/explanation content if the provider response includes it. Content field should not be blank if a reasoning field is present.
### Additional context
- Environment: Windows, WSL
- Copilot CLI version: 1.0.43
- Copilot SDK version: 0.3.0
- BYOK provider: OpenAI or vLLM
Hướng dẫn đóng góp
Hướng nghiên cứu
No implementation files or tests are named. Reproduce the issue with the Responses API configuration shown for an OpenAI or vLLM BYOK provider, then trace the reasoning event handling. Done means AssistantReasoningDeltaEvent and AssistantReasoningEvent expose the provider's reasoning content instead of empty content.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github, shell
- Lĩnh vực
- api, backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100