Ignore case; AI refactor

This commit is contained in:
Aslan 2025-12-26 11:26:07 +01:00
parent 3187885ac3
commit eb3f3fda0d
3 changed files with 14 additions and 29 deletions

View file

@ -14,7 +14,7 @@ const getTextGemini = async (input: string): Promise<string> => {
return response.text ?? "AI Error";
};
const getImageNanoBanana = async (
const getImageGemini = async (
input: string,
): Promise<Buffer<ArrayBuffer> | undefined> => {
const response = await googleAI.models.generateContent({
@ -41,4 +41,4 @@ const getImageNanoBanana = async (
return buffer;
};
export { getTextGemini, getImageNanoBanana };
export { getTextGemini, getImageGemini };