fix: fallback model name not working (#1095)
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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