Stream answers token by token in the Assistant
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 76/100
Línea de trabajo
Read gknowledge/providers/chatgpt.py and trace how _stream() handles response.output_text.delta events through gknowledge/core/query.py into gknowledge/ui/window.py's _on_ask(). Start with make test and use make start to try the demo; add the optional provider callback and UI updates through GLib.idle_add. Done means answers appear as they arrive and offline mode still works.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The ChatGPT provider already receives the answer as a stream, but the Assistant shows Thinking… for several seconds and then everything at once.
Where to look
gknowledge/providers/chatgpt.py:_stream()collectsresponse.output_text.deltaevents.gknowledge/core/query.py:QueryEngine.query().gknowledge/ui/window.py:_on_ask().
Done when
- Providers can take an optional
on_deltacallback. - The Assistant appends text as it arrives (via
GLib.idle_add). - Offline mode keeps working unchanged.
New here? Run make start to open a demo project that restarts on every save, and make test for the core tests. See CONTRIBUTING.md. Comment below to claim the issue.
- Lenguaje dominante
- Python
- Estrellas
- 13
- Forks
- 0
- Merge medio
- 17 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 openapi/gknowledge
-
area: ui good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openapi/gknowledge#19 ·
-
area: ui good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
openapi/gknowledge#13 ·
-
area: ui good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
openapi/gknowledge#11 ·
-
area: ui good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
openapi/gknowledge#10 ·
-
area: ui good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
openapi/gknowledge#8 ·
Todos los issues de openapi/gknowledge
Issues similares
-
approved Good First Issue scope: docs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
hiero-ledger/hiero-sdk-python#2730 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
wemake-services/wemake-django-template#3178 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
md/asciidoc/csv: an explicit `encoding="utf-8"` keeps a leading BOM, the auto-detect path drops itAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
docling-project/docling#4846 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
neurostuff/NiMARE#1181 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pytest-dev/pytest#15180 ·
Los mantenedores suelen responder en 1 día