a2aproject / a2aproject/a2a-dotnet

Distinguishing Between Streaming and Non-Streaming Events in TaskManager

Ouverte
#279 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
.NET v1.0.0
Langage dominant
C#
Étoiles
262
Forks
64
Merge moyen
5 j 2 h
PR mergées (30 j)
31

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
backend-api-design
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.