Skip to content

Commit d458871

Browse files
committed
refactor(run): update model selection to use config.model
1 parent 910e0d0 commit d458871

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function run(options: RunOptions, templateName?: string) {
104104
}
105105

106106
const { text } = await generateText({
107-
model: aiProvider('gpt-4-turbo'),
107+
model: aiProvider(config.model),
108108
prompt: `${system_message}\n${rendered_template}`,
109109
});
110110

0 commit comments

Comments
 (0)