input -> user-prompt

This commit is contained in:
rohoswagger
2025-12-12 00:47:54 -10:00
parent 0f13baa45d
commit 4734f727fd
+2 -2
View File
@@ -53,7 +53,7 @@ async function sendToOnyx(info, tab) {
});
const url = `${
result[CHROME_SPECIFIC_STORAGE_KEYS.ONYX_DOMAIN]
}/chat/nrf/side-panel?input=${selectedText}`;
}${SIDE_PANEL_PATH}?user-prompt=${selectedText}`;
await openSidePanel(tab.id);
chrome.runtime.sendMessage({
@@ -190,7 +190,7 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
(result) => {
const encodedText = encodeURIComponent(selectedText);
const onyxDomain = result[CHROME_SPECIFIC_STORAGE_KEYS.ONYX_DOMAIN];
const url = `${onyxDomain}${SIDE_PANEL_PATH}?input=${encodedText}`;
const url = `${onyxDomain}${SIDE_PANEL_PATH}?user-prompt=${encodedText}`;
chrome.storage.session.set({
pendingInput: {