isAPIKeyValue method added
This commit is contained in:
parent
0ec19550c0
commit
c15fe8e85f
1 changed files with 4 additions and 0 deletions
|
|
@ -586,6 +586,10 @@ export function extractJsonObject(inputString) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function isAPIKeyValue(id){
|
||||||
|
return id=="chatgpt_api_key" || id=="openai_comp_api_key" || id=="google_gemini_api_key" || id=="anthropic_api_key";
|
||||||
|
}
|
||||||
|
|
||||||
export async function checkSparksPresence() {
|
export async function checkSparksPresence() {
|
||||||
try {
|
try {
|
||||||
let sparks_current = await browser.runtime.sendMessage('thunderai-sparks@micz.it',{action: "checkPresence"});
|
let sparks_current = await browser.runtime.sendMessage('thunderai-sparks@micz.it',{action: "checkPresence"});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue