Spaces:
Runtime error
Runtime error
Update crewai_agent.py
Browse files13 unmodified lines1415161717181920212223103 unmodified lines12712812913013113213313 unmodified linesfrom langchain.chains import LLMChain
# Load environment variablesload_dotenv()GOOGLE_API_KEY = os.getenv('GOOGLE_API_KEY')HUGGINGFACE_API_TOKEN= os.getenv('HUGGINGFACE_API_TOKEN')TAVILY_API_KEY = os.getenv('TAVILY_API_KEY')
@tooldef calculator_tool(operation: str, a: float, b: float) -> str:103 unmodified lines model="gemini-2.0-flash", temperature=0, max_tokens=2048 ) elif provider == "huggingface": return ChatHuggingFace(crewai_agent.py+5-1