File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
packages/cli/src/commands Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,16 @@ export const command: CommandModule<SharedOptions, DefaultArgs> = {
9696 tokenTracker . tokenCache =
9797 argv . tokenCache !== undefined ? argv . tokenCache : userConfig . tokenCache ;
9898
99- const userModelProvider = argv . modelProvider || userConfig . modelProvider ;
100- const userModelName = argv . modelName || userConfig . modelName ;
99+ const userModelProvider =
100+ argv . provider ||
101+ argv . modelProvider ||
102+ userConfig . provider ||
103+ userConfig . modelProvider ;
104+ const userModelName =
105+ argv . model ||
106+ argv . modelName ||
107+ userConfig . model ||
108+ userConfig . modelName ;
101109 const userMaxTokens = argv . maxTokens || userConfig . maxTokens ;
102110 const userTemperature = argv . temperature || userConfig . temperature ;
103111
You can’t perform that action at this time.
0 commit comments