We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dee6ec4 commit 44bffcfCopy full SHA for 44bffcf
1 file changed
addon/globalPlugins/openai/maindialog.py
@@ -183,7 +183,6 @@ def run(self):
183
block.prompt = prompt
184
model = wnd.getCurrentModel()
185
block.model = model.id
186
- conf["modelVision" if model.vision else "model"] = model.id
187
stream = conf["stream"]
188
debug = conf["debug"]
189
maxTokens = wnd.maxTokensSpinCtrl.GetValue()
@@ -237,6 +236,7 @@ def run(self):
237
236
msg = _("Uploading %d images, please wait...") % nbImages
238
else:
239
msg = PROCESSING_MSG
+ conf["modelVision" if nbImages else "model"] = model.id
240
wnd.message(msg)
241
if conf["chatFeedback"]["sndTaskInProgress"]:
242
winsound.PlaySound(SND_PROGRESS, winsound.SND_ASYNC|winsound.SND_LOOP)
0 commit comments