from llama_index.llms.google_genai import GoogleGenAI import os GEMINI_API_KEY = os.getenv("GEMINI_TOKEN") GEMINI_MODEL_NAME = "gemini-2.5-flash-preview-04-17" class FinalAgent: def __init__(self): self.llm = GoogleGenAI(model=GEMINI_MODEL_NAME, api_key=GEMINI_API_KEY) print("FinalAgent initialized.") def __call__(self, question: str) -> str: print(f"Agent received question (first 50 chars): {question[:50]}...") fixed_answer = "This is a default answer." print(f"Agent returning fixed answer: {fixed_answer}") return fixed_answer