Skip to content

Commit 34da535

Browse files
authored
Merge pull request #299 from devchat-ai/set_model_by_command_arg
Added support for configurable OpenAI model in DevChat
2 parents 6c1a674 + c291f20 commit 34da535

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/toolwrapper/devchat.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ class DevChat {
120120
args.push("-p", options.parent);
121121
}
122122

123+
const llmModel = UiUtilWrapper.getConfiguration('DevChat', 'OpenAI.model');
124+
if (llmModel) {
125+
args.push("-m", llmModel);
126+
}
127+
123128
return args;
124129
}
125130

0 commit comments

Comments
 (0)