ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Observability: Improve status codes consistency
Đ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:47when success is false. - Change status code to 502 in
backend/app/crud/assistants.py:68for invalid responses from upstream servers.
- Change status code to 404 in
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.