mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-18 12:20:15 +08:00
fix: did not properly display custom model name
This commit is contained in:
@@ -222,7 +222,7 @@ function ConversationCard(props) {
|
||||
required
|
||||
onChange={(e) => {
|
||||
const modelName = e.target.value
|
||||
const newSession = { ...session, modelName, aiName: t(Models[modelName].desc) }
|
||||
const newSession = { ...session, modelName, aiName: Models[modelName].desc }
|
||||
if (config.autoRegenAfterSwitchModel) getRetryFn(newSession)()
|
||||
else setSession(newSession)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user