a2aproject / a2aproject/a2a-dotnet

Distinguishing Between Streaming and Non-Streaming Events in TaskManager

未关闭
#279 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
.NET v1.0.0
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。