Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files123GOOGLE_APPLICATION_CREDENTIALS=./ivory-bonus-284511-ece2419adbb2.jsonSUPABASE_URL=https://qgggbukkivjakulcmprh.supabase.coSUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InFnZ2didWtraXZqYWt1bGNtcHJoIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc1MjIxOTE4NSwiZXhwIjoyMDY3Nzk1MTg1fQ.XxiYK6LzPGWKPiCBbF_moqfmpwCBsFLzw0aBNgxpN9M1234GOOGLE_APPLICATION_CREDENTIALS=./ivory-bonus-284511-ece2419adbb2.jsonSUPABASE_URL=https://qgggbukkivjakulcmprh.supabase.coSUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InFnZ2didWtraXZqYWt1bGNtcHJoIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc1MjIxOTE4NSwiZXhwIjoyMDY3Nzk1MTg1fQ.XxiYK6LzPGWKPiCBbF_moqfmpwCBsFLzw0aBNgxpN9MGROQ_API_KEY=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
152 unmodified lines1531541551561571581591 unmodified line161162163164165166167152 unmodified lines]# Build graph functiondef build_graph(provider: str = "google"):"""Build the graph"""# Load environment variables from .env fileif provider == "google":1 unmodified linellm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)elif provider == "groq":# Groq https://console.groq.com/docs/modelsllm = ChatGroq(model="qwen-qwq-32b", temperature=0, api_key=os.getenv("GROQ_API_KEY")) # optional : qwen-qwq-32b gemma2-9b-itelif provider == "huggingface":# TODO: Add huggingface endpointllm = ChatHuggingFace(152 unmodified lines1531541551561571581591 unmodified line161162163164165166167152 unmodified lines]# Build graph functiondef build_graph(provider: str = "groq"):"""Build the graph"""# Load environment variables from .env fileif provider == "google":1 unmodified linellm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)elif provider == "groq":# Groq https://console.groq.com/docs/modelsllm = ChatGroq(model="qwen-qwq-32b", temperature=0) # optional : qwen-qwq-32b gemma2-9b-itelif provider == "huggingface":# TODO: Add huggingface endpointllm = ChatHuggingFace(
.env+1
agent.py+2-2