Warn when the running plugin lacks getMemories but has scanMemories

Đang mở
#48 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 1 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
tooling

Hướng nghiên cứu

Start in src/runtime.ts and read warnIfOldRuntime, which currently checks scanMemories. Extend the check to cover a missing getMemories when scanMemories is present, and ensure it warns once; the issue notes this case is only reachable on unreleased main commits.

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

Mô tả

A package copy whose running plugin publishes a runtime with scanMemories but no getMemories (an unreleased build between #45 and #46) runs getMemories locally with no log line. warnIfOldRuntime in src/runtime.ts checks only scanMemories.

No released version has one without the other, so this is only reachable on unreleased main commits. If it matters, extend the old-runtime check to cover a missing getMemories and warn once.

Review-Deferral: 6219ce1cd1048a2c severity=minor category=reliability

Ngôn ngữ chính
JavaScript
Star
0
Fork
0
Merge trung bình
20 giờ 29 phút
Pull request đã merge (30 ngày)
28

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 HarperFast/agent-memory

Tất cả issue của HarperFast/agent-memory

Issue tương tự

Thêm issue về JavaScript

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.