0xPlaygrounds / 0xPlaygrounds/rig

fix(moonshot): update discontinued Kimi model IDs

Aperta Adatta ai principianti
#2,465 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
8.6k
Fork
959
Merge medio
4h 32m
PR unite (30g)
117

Descrizione

## 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
ai-infra-agents, testing
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
75/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.