Chabot: Server-side chatbot state management
Los mantenedores suelen responder en 1 día
@Ayush8923 ya está trabajando en esto.
Desde el 20/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Is your feature request related to a problem?
The current /chatbot/message endpoint is stateless and requires sending the full conversation history every turn. This is impractical for clients like Glific that struggle with state management.
Describe the solution you'd like
Implement a session-based API where the server manages history:
POST /chatbot/sessionsto create a session (send system prompt + config once) and receive asession_idPOST /chatbot/sessions/{session_id}/messageto send a new message; the server manages history and replies asynchronously towebhook_url
Original issue
Problem
Now the /chatbot/message endpoint is stateless, the full conversation history is sent to the caller every turn. This is impractical for clients like Glific that cannot manage state.
Solution
Make a session-based API where the server stores history:
POST /chatbot/sessions— create a session (send system prompt + config once), you'll get asession_idPOST /chatbot/sessions/{session_id}/message, just send the new message; server tracks history on its own; reply will be delivered async towebhook_url
Acceptance Criteria
- Session create karne pe
session_idreturn ho - Messages DB mein persist hon
- Bot reply webhook pe POST ho (success aur failure dono cases)
- Agar session beech mein ruk jaaye, same
session_idse resume ho sake
- Lenguaje dominante
- Python
- Estrellas
- 18
- Forks
- 11
- Merge medio
- 2 d 2 h
- PR fusionados (30 d)
- 33
Preparar el entorno
- Incluye un Dockerfile o un 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 ProjectTech4DevAI/kaapi-backend
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Los mantenedores suelen responder en 1 día
-
Sentry: Add module and version tagsPosiblemente ocupada @vprashrex la tomó hace 2 días. Abierto
ProjectTech4DevAI/kaapi-backend#1305 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Observability: Cron enhancementsPosiblemente ocupada @vprashrex la tomó hace 3 días. Abierto
ProjectTech4DevAI/kaapi-backend#1304 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Otel: Standardize key constantsPosiblemente ocupada @vprashrex la tomó hace 5 días. Abierto
ProjectTech4DevAI/kaapi-backend#1294 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Monitoring: Enhance alerting and securityPosiblemente ocupada @Ayush8923 la tomó hace 8 días. Abiertoinfrastructure
ProjectTech4DevAI/kaapi-backend#1271 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de ProjectTech4DevAI/kaapi-backend
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
NVIDIA/flare-local-inference#90 ·
Los mantenedores suelen responder en 1 día
-
area/streaming comp/gateway P2 platform/telegram type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NousResearch/hermes-agent#144897 ·
Los mantenedores suelen responder en 1 día
-
request-theme
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
LizardByte/ThemerrDB#9575 ·
Los mantenedores suelen responder en 1 día
-
Author Page: noshin-nawalAbiertoauthor-page correction
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
acl-org/acl-anthology#10599 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zilliztech/memsearch#818 ·
Los mantenedores suelen responder en 1 día