mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(ai): update Kimi model catalog source
This commit is contained in:
parent
59eb4c393c
commit
e4ce7b449f
1 changed files with 2 additions and 2 deletions
|
|
@ -2304,8 +2304,8 @@ async function loadModelsDevData(): Promise<Model<any>[]> {
|
|||
}
|
||||
|
||||
// Process Kimi For Coding models
|
||||
if (data["kimi-for-coding"]?.models) {
|
||||
const kimiModels = data["kimi-for-coding"].models as Record<string, ModelsDevModel>;
|
||||
if (data["kimi-code-plan-global"]?.models) {
|
||||
const kimiModels = data["kimi-code-plan-global"].models as Record<string, ModelsDevModel>;
|
||||
const hasCanonicalModel = Object.prototype.hasOwnProperty.call(kimiModels, "kimi-for-coding");
|
||||
|
||||
const kimiAliases = new Set(["k2p5", "k2p6", "k2p7"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue