Bshraman commited on
Commit
3f9b3c3
·
verified ·
1 Parent(s): 9b43536

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +7 -7
agent.py CHANGED
@@ -154,13 +154,13 @@ tools = [
154
  def build_graph(provider: str = "groq"):
155
  """Build the graph"""
156
  # Load environment variables from .env file
157
- if provider == "google":
158
- # Google Gemini
159
- llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
160
- elif provider == "groq":
161
- # Groq https://console.groq.com/docs/models
162
- llm = ChatGroq(model="qwen-qwq-32b", temperature=0) # optional : qwen-qwq-32b gemma2-9b-it
163
- elif provider == "openai":
164
  llm = ChatOpenAI(model="gpt-4",temperature=0)
165
  elif provider == "huggingface":
166
  # TODO: Add huggingface endpoint
 
154
  def build_graph(provider: str = "groq"):
155
  """Build the graph"""
156
  # Load environment variables from .env file
157
+ # if provider == "google":
158
+ # # Google Gemini
159
+ # llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
160
+ # elif provider == "groq":
161
+ # # Groq https://console.groq.com/docs/models
162
+ # llm = ChatGroq(model="qwen-qwq-32b", temperature=0) # optional : qwen-qwq-32b gemma2-9b-it
163
+ if provider == "openai":
164
  llm = ChatOpenAI(model="gpt-4",temperature=0)
165
  elif provider == "huggingface":
166
  # TODO: Add huggingface endpoint