Skip to content

Commit 9a6a310

Browse files
committed
incorrectly passed mainworkspace to RST
1 parent f8f93e1 commit 9a6a310

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/addons/addons/ai-integration

‎src/addons/addons/ai-integration/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export default class main {
418418
var data = {
419419
api_key: authTokenToUse,
420420
message: messageContents,
421-
history: [{ "role": "user", "message": helpers.returnSterilizedToolbox(main.Gaddon, main.mainWorkspace, document.getElementById("AATUCEB_CB").checked) }, ...document.AI_INTEGRATION.chatHistory],
421+
history: [{ "role": "user", "message": helpers.returnSterilizedToolbox(main.Gaddon, document.getElementById("AATUCEB_CB").checked) }, ...document.AI_INTEGRATION.chatHistory],
422422
ai_model: document.getElementById('AI_Selector_select').value,
423423
};
424424

0 commit comments

Comments
 (0)