Auto-deploy: 2026-05-17 01:59:57
This commit is contained in:
@@ -17,7 +17,7 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
|
||||
|
||||
// ─── Core API call ───────────────────────────────────────────────────────────
|
||||
|
||||
async function handleGeminiRequest({ apiKey, prompt, tab, action = 'generateText', jobDescription = '' }) {
|
||||
async function handleGeminiRequest({ apiKey, prompt, tab, action = 'generateText', jobDescription = '', jobTitle = '' }) {
|
||||
// Rate limit check
|
||||
const canProceed = await checkRateLimit();
|
||||
if (!canProceed) {
|
||||
@@ -45,7 +45,8 @@ async function handleGeminiRequest({ apiKey, prompt, tab, action = 'generateText
|
||||
action: action,
|
||||
apiKey: apiKey,
|
||||
prompt: trimmedPrompt,
|
||||
jobDescription: jobDescription
|
||||
jobDescription: jobDescription,
|
||||
jobTitle: jobTitle
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user