a2aproject / a2aproject/a2a-dotnet

Distinguishing Between Streaming and Non-Streaming Events in TaskManager

Abierto
#279 0 comentarios 0 reacciones 0 asignados Ver en GitHub
.NET v1.0.0
Lenguaje dominante
C#
Estrellas
262
Forks
64
Merge medio
5 d 2 h
PR fusionados (30 d)
31

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
backend-api-design
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.