fix: model name is not displayed correctly when there is no conversation

This commit is contained in:
josc146
2023-04-02 20:20:12 +08:00
parent 8d5fc71148
commit 7f34dc81d4
+1 -1
View File
@@ -252,7 +252,7 @@ async function prepareForRightClickMenu() {
container.className = 'chatgptbox-toolbar-container-not-queryable'
render(
<FloatingToolbar
session={initSession()}
session={initSession({ modelName: userConfig.modelName })}
selection={data.selectionText}
container={container}
triggered={true}