Skip to content

Commit

Permalink
fix: fallback model name not working (stackblitz-labs#1095)
Browse files Browse the repository at this point in the history
Co-authored-by: 刘一奇 <[email protected]>
  • Loading branch information
lewis617 and 刘一奇 authored Jan 15, 2025
1 parent 85d864f commit 41bb909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/.server/llm/stream-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export async function streamText(props: {

return await _streamText({
model: provider.getModelInstance({
model: currentModel,
model: modelDetails.name,
serverEnv,
apiKeys,
providerSettings,
Expand Down

0 comments on commit 41bb909

Please sign in to comment.