Skip to content

Commit ad885ab

Browse files
committed
fix: model name is not displayed correctly when there is no conversation
1 parent ca643de commit ad885ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content-script/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ async function prepareForRightClickMenu() {
252252
container.className = 'chatgptbox-toolbar-container-not-queryable'
253253
render(
254254
<FloatingToolbar
255-
session={initSession()}
255+
session={initSession({ modelName: userConfig.modelName })}
256256
selection={data.selectionText}
257257
container={container}
258258
triggered={true}

0 commit comments

Comments
 (0)