From 1d16aef0a07d878dbc2da8b885d9db17d91d8f82 Mon Sep 17 00:00:00 2001 From: songlairui Date: Wed, 17 Jul 2024 16:19:01 +0800 Subject: [PATCH] fix: ensure getExplanation uses the settled MODEL --- src/prompt.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/prompt.ts b/src/prompt.ts index dc80d22..145c07b 100644 --- a/src/prompt.ts +++ b/src/prompt.ts @@ -134,6 +134,7 @@ export async function prompt({ const { readExplanation } = await getExplanation({ script, key, + model, apiEndpoint, }); spin.stop(`${i18n.t('Explanation')}:`);