a2aproject / a2aproject/a2a-dotnet
Distinguishing Between Streaming and Non-Streaming Events in TaskManager
- 主要语言
- C#
- 星标
- 262
- 派生
- 64
- 平均合并
- 5 天 2 小时
- 30 天内合并 PR
- 31
描述
Currently, when using the OnTaskCreated, OnMessageReceived, and OnTaskUpdated events of TaskManager, it's impossible to tell whether those were triggered by the streaming request or a non-streaming one. This is important for scenarios when users want to handle those by delegating the calls to the corresponding streaming or non-streaming APIs of the underlying LLM/Agent/SDK/Service.
贡献指南
调研方向
Look at the TaskManager class and its event definitions (OnTaskCreated, OnMessageReceived, OnTaskUpdated). Identify where these events are triggered and examine the request context to determine if it's streaming or non-streaming. Add a property or parameter to the event args to indicate the request type. Check existing tests for TaskManager to see how events are tested and add new tests for the added property.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- backend-api-design
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100