fix: fallback model name not working (#1095)

Co-authored-by: 刘一奇 <liuyiqi02@corp.netease.com>
This commit is contained in:
lewis liu
2025-01-15 19:06:33 +08:00
committed by GitHub
parent 85d864f607
commit 41bb909f8d

View File

@@ -228,7 +228,7 @@ export async function streamText(props: {
return await _streamText({
model: provider.getModelInstance({
model: currentModel,
model: modelDetails.name,
serverEnv,
apiKeys,
providerSettings,