Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 41bb909

Browse files
lewis617刘一奇
and
刘一奇
authoredJan 15, 2025··
fix: fallback model name not working (#1095)
Co-authored-by: 刘一奇 <liuyiqi02@corp.netease.com>
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

+1-1
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)
Please sign in to comment.