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

Enable non-existent tool fallback with MCP server

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Từ ngày 6/10/2026.

  • #984 của @chethanuk — đã đóng, không merge

Đá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
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
ai, data

Hướng nghiên cứu

Bắt đầu bằng cách truy vết việc xử lý các lệnh gọi công cụ của máy chủ MCP và lỗi được báo cáo trong execution.log khi công cụ được yêu cầu không khả dụng. Xác định hành vi fallback tùy chọn, bao gồm thông báo lỗi mặc định và cách người dùng ghi đè thông báo đó. Được xem là hoàn tất khi các lệnh gọi công cụ bị ảo giác có thể cảnh báo mô hình và khôi phục, thay vì tự động loại bỏ bản ghi.

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

Mô tả

enhancement
Priority Level

Medium (Nice to have)

Is your feature request related to a problem? Please describe.

Right now, when using an MCP server, Data Designer immediately errors out and drops the row if a model attempts to call a non-existent tool. E.g.:

[03/12/26 02:43:16] INFO     Processing request of type            server.py:720
                             CallToolRequest                                    
[02:43:17] [WARNING] ⚠️ Generation for record at index 197 failed. Will omit this record from the dataset.
Tool 'CalcNumSaturatedHeterocycles' not found on any configured provider.

I've found that all tested models hallucinate tools sometimes, resulting in many failed records. For SDG, there are many cases where this is sub-optimal because it doesn't show the model the consequences of hallucinated tool calls.

Describe the solution you'd like

I would like to have an optional catch and fallback to alert the model that the tool doesn't exist. Ideally, we would provide a default error message which could be overridden by the user.

Describe alternatives you've considered

Right now, I inspect execution.log directly to identify when the model called hallucinated tools, since there is no statistics reporting on it and the row is dropped.

I don't have a workaround for recovering from hallucinated tool calls.

Additional context

No response

Ngôn ngữ chính
Python
Star
2.4k
Fork
234
Merge trung bình
23 giờ
Pull request đã merge (30 ngày)
75

Chuẩn bị môi trường

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 NVIDIA-NeMo/DataDesigner

Tất cả issue của NVIDIA-NeMo/DataDesigner

Issue tương tự

Thêm issue về Python

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.