Skip to content

Commit

Permalink
fix: make the conversation window of shortcut keys and right-click me…
Browse files Browse the repository at this point in the history
…nus use real-time config model
  • Loading branch information
josStorer committed Apr 8, 2023
1 parent f97fafe commit 191602e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content-script/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ async function prepareForRightClickMenu() {
container.className = 'chatgptbox-toolbar-container-not-queryable'
render(
<FloatingToolbar
session={initSession({ modelName: userConfig.modelName })}
session={initSession({ modelName: (await getUserConfig()).modelName })}
selection={data.selectionText}
container={container}
triggered={true}
Expand Down

0 comments on commit 191602e

Please sign in to comment.