first call of the new api webchat frontend (work in progress)

This commit is contained in:
mic 2024-07-21 00:19:28 +02:00
parent a034a5a2b9
commit 6b5f16dc91

View file

@ -200,7 +200,12 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_
});
}else{
// We are using the ChatGPT API
let newWindow = await browser.windows.create({
url: browser.runtime.getURL('api_webchat/index.html'),
type: "popup",
width: prefs.chatgpt_win_width,
height: prefs.chatgpt_win_height
});
}
}