mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +00:00
fix: fallback model name not working (#1095)
Co-authored-by: 刘一奇 <liuyiqi02@corp.netease.com>
This commit is contained in:
parent
85d864f607
commit
41bb909f8d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user