0xPlaygrounds / 0xPlaygrounds/rig

fix(moonshot): update discontinued Kimi model IDs

Đang mở Phù hợp với người mới
#2,465 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Rust
Star
8.6k
Fork
959
Merge trung bình
4 giờ 32 phút
Pull request đã merge (30 ngày)
117

Mô tả

## Bug Report

The Moonshot provider currently uses `KIMI_K2_5` (`kimi-k2.5`) in its documentation example and provider smoke tests.

That model ID has been discontinued, so credential-gated tests using it can fail with a 404.

Moonshot's current K2-family model is `kimi-k2.6`.

## Expected behavior

Moonshot examples and smoke tests should use a currently supported model ID.

## Proposed fix

- add a `KIMI_K2_6` constant;
- update the Moonshot example to use it;
- update the Moonshot provider smoke tests to use it;
- keep the existing `KIMI_K2` and `KIMI_K2_5` constants exported for compatibility.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Find the Moonshot provider files, likely under a providers/ or moonshot/ directory. Look for constants like KIMI_K2_5 in the code and documentation examples. Update the constant definition and its usage in smoke tests. Run the provider's tests to verify the change works and doesn't break compatibility.

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

Đánh giá

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

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.