Cached supplemental draws reuse the primary Stage 7 result

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

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

Đánh giá

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

Hướng nghiên cứu

Start with src/pipeline/lens-runner.ts at lines 309 and 532, then trace the cache key in src/llm/pi-runner.ts around line 1380. Reproduce the reported case: cache on yields one provider call for the primary and supplemental draws, while cache off yields two. Done when retained supplemental modes make the second draw call the provider and the existing cache behavior is covered by a focused test.

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

Mô tả

bug

Problem: With cache enabled and one deep packet, K=2 at concurrency one reports two supplemental passes but calls the provider once, reusing the primary draw. Scope any fix to retained supplemental modes.
File:line: src/pipeline/lens-runner.ts:309,532; src/llm/pi-runner.ts:1380.
Evidence: Production scheduler and Pi runner with scripted adapter verified a cache write/hit versus two provider calls with cache off; @architect confirmed the cache key. Related existing issue: #30.
Suggested fix size: M.
Found during #44 (workstream C, challenged by @architect).

Ngôn ngữ chính
TypeScript
Star
8
Fork
1
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
2

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 0xPolygon/codegenie

Tất cả issue của 0xPolygon/codegenie

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.