method getActiveSpecialPromptsIDs added
This commit is contained in:
parent
9ad876f5b3
commit
4ba7aafaf6
1 changed files with 13 additions and 0 deletions
|
|
@ -263,6 +263,19 @@ export async function transformTagsLabels(labels, tags_list) {
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getActiveSpecialPromptsIDs(addtags = false, get_calendar_event = false, is_chatgpt_web = false) {
|
||||||
|
let output = [];
|
||||||
|
if(is_chatgpt_web){
|
||||||
|
return output;
|
||||||
|
}
|
||||||
|
if(addtags){
|
||||||
|
output.push('add_tags');
|
||||||
|
}
|
||||||
|
if(get_calendar_event){
|
||||||
|
output.push('get_calendar_event');
|
||||||
|
}
|
||||||
|
return output;
|
||||||
|
}
|
||||||
|
|
||||||
export async function checkSparksPresence() {
|
export async function checkSparksPresence() {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue