mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-04 02:17:49 +00:00
fix(codex): type cast provider in model update path
This commit is contained in:
@@ -253,7 +253,7 @@ export function updateVariant(name: string, updates: UpdateVariantOptions): Vari
|
|||||||
existing.port
|
existing.port
|
||||||
);
|
);
|
||||||
} else if (updates.model !== undefined) {
|
} else if (updates.model !== undefined) {
|
||||||
updateSettingsModel(settingsPath, updates.model, existing.provider);
|
updateSettingsModel(settingsPath, updates.model, existing.provider as CLIProxyProfileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user