first call of the new api webchat frontend (work in progress)
This commit is contained in:
parent
a034a5a2b9
commit
6b5f16dc91
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue