ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Observability: Improve status codes consistency

Aperta
#834 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@vprashrex ci sta già lavorando.

Dal 14/5/2026.

  • #1090 di @vprashrex — aperta
Lingua principale
Python
Stelle
18
Fork
10
Merge medio
2g 20h
PR unite (30g)
14

Descrizione

Is your feature request related to a problem?
We need to improve observability in our application. There are inconsistencies in the status codes and error messages returned, which can lead to confusion and misinterpretation of application state.

Describe the solution you'd like

  • Have Claude perform a sanity check on logs, status codes, and error messages.
  • Fix status code inconsistencies in high usage endpoints like LLM call, Collection, Documents, LLM Chain and Evals. Inconsistency like below:
    • Change status code to 404 in app/crud/evaluations/batch.py:47 when success is false.
    • Change status code to 502 in backend/app/crud/assistants.py:68 for invalid responses from upstream servers.

Guida per i contributori

Apri la guida per i contributori

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.