Skip to content

Commit 41bb909

Browse files
lewis617刘一奇
andauthored
fix: fallback model name not working (#1095)
Co-authored-by: 刘一奇 <[email protected]>
1 parent 85d864f commit 41bb909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lib/.server/llm/stream-text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export async function streamText(props: {
228228

229229
return await _streamText({
230230
model: provider.getModelInstance({
231-
model: currentModel,
231+
model: modelDetails.name,
232232
serverEnv,
233233
apiKeys,
234234
providerSettings,

0 commit comments

Comments
 (0)