feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
1 parent
dd9cd782a7
commit
91f77ea571
55 files changed
+156
-81
No files matched your search
@@ -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