openai api fixed. see #620

This commit is contained in:
Mic 2026-01-20 13:37:35 +01:00
parent cc7b8d1640
commit 04d12594a7

View file

@ -526,7 +526,7 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_
browser.runtime.onMessage.removeListener(listener2); browser.runtime.onMessage.removeListener(listener2);
} }
if (message.command === "openai_api_ready_"+rand_call_id2) { if (message.command === "chatgpt_api_ready_"+rand_call_id2) {
return handleChatGptApi(sender.tab); return handleChatGptApi(sender.tab);
} }
return false; return false;