grshot commited on
Commit
6115b77
·
1 Parent(s): b549b82
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -94,13 +94,13 @@ Your response must always begin with: FINAL ANSWER:
94
 
95
 
96
  def build_agent_graph(provider: str = "groq"):
97
- groq_api_key = os.environ.get("GROQ_API_KEY")
98
 
99
  # Define toolset
100
  tools = [search_web_sources, search_wikipedia, run_python_code]
101
 
102
  # Instantiate LLM
103
- llm = ChatGroq(model="qwen-qwq-32b", temperature=0, api_key=groq_api_key)
 
104
 
105
  # Bind tools to the LLM
106
  llm_with_tools = llm.bind_tools(tools)
 
94
 
95
 
96
  def build_agent_graph(provider: str = "groq"):
 
97
 
98
  # Define toolset
99
  tools = [search_web_sources, search_wikipedia, run_python_code]
100
 
101
  # Instantiate LLM
102
+ os.environ["GROQ_API_KEY"]
103
+ llm = ChatGroq(model="qwen-qwq-32b", temperature=0)
104
 
105
  # Bind tools to the LLM
106
  llm_with_tools = llm.bind_tools(tools)