nadim71 commited on
Commit
c1d9e1e
·
verified ·
1 Parent(s): 4527cdf
Files changed (1) hide show
  1. agent.py +2 -8
agent.py CHANGED
@@ -150,16 +150,10 @@ tools = [
150
  ]
151
 
152
  # Build graph function
153
- def build_graph(provider: str = "google"):
154
  """Build the graph"""
155
  # Load environment variables from .env file
156
- if provider == "google":
157
- # Google Gemini
158
- llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
159
- elif provider == "groq":
160
- # Groq https://console.groq.com/docs/models
161
- llm = ChatGroq(model="qwen-qwq-32b", temperature=0) # optional : qwen-qwq-32b gemma2-9b-it
162
- elif provider == "huggingface":
163
  # TODO: Add huggingface endpoint
164
  llm = ChatHuggingFace(
165
  llm=HuggingFaceEndpoint(
 
150
  ]
151
 
152
  # Build graph function
153
+ def build_graph(provider: str = "huggingface"):
154
  """Build the graph"""
155
  # Load environment variables from .env file
156
+ if provider == "huggingface":
 
 
 
 
 
 
157
  # TODO: Add huggingface endpoint
158
  llm = ChatHuggingFace(
159
  llm=HuggingFaceEndpoint(