.NET: AI context streaming decorators do not dispose inner enumerators on early exit
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 74/100
Línea de trabajo
Locate AIContextProviderChatClient and MessageAIContextProviderAgent, then inspect where each manually acquires its inner async enumerator. Use the described inner stream with a finally block and consume one update before breaking; done means disposal is observed after normal completion, early exit, cancellation, and enumeration failure.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
AIContextProviderChatClient and MessageAIContextProviderAgent manually acquire inner async enumerators but do not dispose them when the outer consumer stops early.
If a caller breaks from the outer streaming enumeration before the inner stream completes, the inner iterator finally block does not run and resources owned by that iterator can remain undisposed.
Expected behavior
The inner async enumerator should be disposed after acquisition on normal completion, caller early exit, cancellation, and enumeration failures.
Reproduction
An inner async stream with a finally block can track disposal. Consuming one update from either wrapper and then breaking leaves that flag unset on the current implementation.
The fix can remain narrow by establishing async disposal ownership immediately after GetAsyncEnumerator succeeds.
- Lenguaje dominante
- Python
- Estrellas
- 13.6k
- Forks
- 2.3k
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 442
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/agent-framework
-
python triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/agent-framework#8632 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Python: Clarify when to use platformPosiblemente ocupada @eavanvalkenburg la tomó hoy. Abiertopython triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoft/agent-framework#8599 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
.NET compaction documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
microsoft/agent-framework#4629 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Python: [Bug]: Local shell results are sent to OpenAI as exit 0, even when the command failed or timed outPosiblemente ocupada @eavanvalkenburg la tomó hoy. Abiertopython reproduced skills
microsoft/agent-framework#8929 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Python: [Bug]: OllamaEmbeddingClient drops numeric zero keep_alivePosiblemente ocupada @eavanvalkenburg la tomó hoy. Abiertoagents python reproduced
microsoft/agent-framework#8927 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/agent-framework
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
kornia/kornia#5263 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Metadata correction for W16-5400Abiertoapproved correction metadata
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
acl-org/acl-anthology#10133 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BasedHardware/omi#20084 ·
Los mantenedores suelen responder en 1 día
-
bug needs-acceptance wg/evaluation-quality
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
vllm-project/semantic-router#4424 ·
Los mantenedores suelen responder en 1 día