diff --git a/app/lib/.server/llm/stream-text.ts b/app/lib/.server/llm/stream-text.ts index 32aebdf7..7de74437 100644 --- a/app/lib/.server/llm/stream-text.ts +++ b/app/lib/.server/llm/stream-text.ts @@ -228,7 +228,7 @@ export async function streamText(props: { return await _streamText({ model: provider.getModelInstance({ - model: currentModel, + model: modelDetails.name, serverEnv, apiKeys, providerSettings,