ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Observability: Improve status codes consistency

Offen
#834 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@vprashrex arbeitet bereits daran.

Seit 14.5.2026.

  • #1090 von @vprashrex — offen
Vorherrschende Sprache
Python
Sterne
18
Forks
10
Ø Merge
2 T. 20 Std.
Gemergte PRs (30 T.)
14

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.