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

Questions: s08 tool result budget

Đang mở
#605 0 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 15 ngày

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
52/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
ai-infra-agents

Hướng nghiên cứu

Read the s08 material that defines tool_result_budget and traces how tool results are prepared for later LLM calls. Check whether the described compaction behavior and possible retrieval loop are addressed. Done means the behavior and both questions are explained clearly; the issue does not identify a specific file or test to start from.

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

Mô tả

First of all, great work! I’ve learned a lot from it.

I have a question regarding tool_result_budget. My understanding is that it checks the tool results from the previous run, considering both the total size and the size of each result, and then compacts them before the subsequent LLM calls.

Does this mean that large tool results from the previous run are never shown to the LLM in full, and that the LLM only sees a preview?

If so, could this lead to the following issues?

  1. The LLM might miss important information that appears later in the result, for example, near the end of a very large log file.
  2. In some extreme cases, the LLM might try to retrieve the full content by making another tool call in the current run, only for that result to be compacted again in the next run. Could this potentially create a loop?

Thanks for your help and explanation!

Ngôn ngữ chính
Python
Star
79.5k
Fork
12.7k
Merge trung bình
11 ngày 19 giờ
Pull request đã merge (30 ngày)
5

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 shareAI-lab/learn-claude-code

Tất cả issue của shareAI-lab/learn-claude-code

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.