Add support for replied messages

This commit is contained in:
Aslan 2025-12-29 00:48:42 +01:00
parent f56db6595c
commit f91cb6378c

View file

@ -12,7 +12,6 @@ const getTextGemini = async (
input: string, input: string,
oldInput?: string, oldInput?: string,
): Promise<AIResponseText> => { ): Promise<AIResponseText> => {
console.log([oldInput, input]);
const response = await googleAI.models.generateContent({ const response = await googleAI.models.generateContent({
model: "gemini-3-flash-preview", model: "gemini-3-flash-preview",
contents: oldInput ? [oldInput, input] : input, contents: oldInput ? [oldInput, input] : input,