mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
@@ -179,7 +179,7 @@ export function getDefaultMainLoopModelSetting(): ModelName | ModelAlias {
|
||||
// Ants default to defaultModel from flag config, or Opus 1M if not configured
|
||||
if (process.env.USER_TYPE === 'ant') {
|
||||
return (
|
||||
getAntModelOverrideConfig()?.defaultModel ??
|
||||
(getAntModelOverrideConfig()?.defaultModel as string) ??
|
||||
getDefaultOpusModel() + '[1m]'
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user