mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 03:13:12 +00:00
fix(codex): type cast provider in model update path
This commit is contained in:
1 parent
3410c52f7e
commit
41d99788da
1 file changed
+1
-1
@@ -253,7 +253,7 @@ export function updateVariant(name: string, updates: UpdateVariantOptions): Vari
|
||||
existing.port
|
||||
);
|
||||
} 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