const aiResponse = await sendToBackground({
name: "aiRequest",
body: {
question: question,
choices: choices.length === 0 ? "" : choices
},
extensionId: "fhgalfkajbagfafnfofdkpamchjhfgce"
});
console.log(aiResponse);
const aiResponse = await sendToBackground({
name: "aiRequest",
body: {
question: question,
choices: choices.length === 0 ? "" : choices
},
extensionId: "fhgalfkajbagfafnfofdkpamchjhfgce"
});
console.log(aiResponse);