Skip to content

Commit 191602e

Browse files
committed
fix: make the conversation window of shortcut keys and right-click menus use real-time config model
1 parent f97fafe commit 191602e

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
@@ -254,7 +254,7 @@ async function prepareForRightClickMenu() {
254254
container.className = 'chatgptbox-toolbar-container-not-queryable'
255255
render(
256256
<FloatingToolbar
257-
session={initSession({ modelName: userConfig.modelName })}
257+
session={initSession({ modelName: (await getUserConfig()).modelName })}
258258
selection={data.selectionText}
259259
container={container}
260260
triggered={true}

0 commit comments

Comments
 (0)