Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Chabot: Server-side chatbot state management

Aperta
#1,278 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Ayush8923 ci sta già lavorando.

Dal 20/10/2026.

  • #293 di @Ayush8923 — aperta
  • #1300 di @Ayush8923 — aperta
  • #1301 di @Ayush8923 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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/sessions to create a session (send system prompt + config once) and receive a session_id
  • POST /chatbot/sessions/{session_id}/message to send a new message; the server manages history and replies asynchronously to webhook_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 a session_id
  • POST /chatbot/sessions/{session_id}/message, just send the new message; server tracks history on its own; reply will be delivered async to webhook_url

Acceptance Criteria

  • Session create karne pe session_id return 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_id se resume ho sake
Lingua principale
Python
Stelle
18
Fork
11
Merge medio
2g 2h
PR unite (30g)
33

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ProjectTech4DevAI/kaapi-backend

Tutte le issue di ProjectTech4DevAI/kaapi-backend

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.