Skip to content

Commit c9eee7a

Browse files
committed
fix: did not keep modelName when clearing conversation
1 parent 422dbfa commit c9eee7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ConversationCard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ function ConversationCard(props) {
284284
},
285285
})
286286
setConversationItemData([])
287-
setSession(initSession())
287+
setSession(initSession({ modelName: session.modelName }))
288288
}}
289289
/>
290290
<span

0 commit comments

Comments
 (0)