ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Observability: Improve status codes consistency

Đang mở
#834 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@vprashrex đang làm issue này rồi.

Từ ngày 14/5/2026.

  • #1090 của @vprashrex — đang mở
Ngôn ngữ chính
Python
Star
18
Fork
10
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
14

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.