Skip to content

Commit

Permalink
fix: did not keep modelName when clearing conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Apr 2, 2023
1 parent 422dbfa commit c9eee7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ConversationCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function ConversationCard(props) {
},
})
setConversationItemData([])
setSession(initSession())
setSession(initSession({ modelName: session.modelName }))
}}
/>
<span
Expand Down

0 comments on commit c9eee7a

Please sign in to comment.