@@ -7,7 +7,7 @@ import { decryptMedia } from '@open-wa/wa-automate';
|
|||||||
import { GoogleGenAI } from '@google/genai';
|
import { GoogleGenAI } from '@google/genai';
|
||||||
import { config } from '../config.js';
|
import { config } from '../config.js';
|
||||||
import { log } from '../logger.js';
|
import { log } from '../logger.js';
|
||||||
|
|
||||||
const BASE_DIR = '/media';
|
const BASE_DIR = '/media';
|
||||||
const safe = s => (s || '').replace(/[\\/:*?"<>|]/g, '_');
|
const safe = s => (s || '').replace(/[\\/:*?"<>|]/g, '_');
|
||||||
const ai = new GoogleGenAI({ apiKey: config.GEMINI_KEY });
|
const ai = new GoogleGenAI({ apiKey: config.GEMINI_KEY });
|
||||||
|
|||||||
Reference in New Issue
Block a user