Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FR] Detailed error reporting and retry/fallback mechanism for AskAI and MCP server

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, backend, observability

Hướng nghiên cứu

Start by locating the AskAI and MCP server request paths that call the inference endpoint, then trace where failures become the generic error. Done means endpoint details and status codes are surfaced and configurable retry or fallback behavior works for both paths; identify or add focused tests for these cases.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ask_sb Feature

Currently, when a request to the inference endpoint fails within the AskAI feature, the system returns a generic error stating that the operation failed. This lack of context makes debugging and troubleshooting difficult.

I would like to propose the following enhancements:

1- Detailed Error Reporting: Instead of masking the error, the system should surface the specific error details and status codes returned by the inference endpoint.

2- Retry and Fallback Mechanism: Introduce a configurable retry and/or fallback strategy for failed inference requests to improve resilience.

3- Scope Extension: Apply this same retry/fallback mechanism to the MCP server, as it currently suffers from the same generic failure behavior.

Implementing these changes will significantly improve the observability of the system and provide a more robust experience for both the AskAI feature and the MCP server.

Ngôn ngữ chính
TypeScript
Star
3.9k
Fork
374
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
39

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.

Issue khác của sourcebot-dev/sourcebot

Tất cả issue của sourcebot-dev/sourcebot

Issue tương tự

Thêm issue về TypeScript

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.