WeByT3 commited on
Commit
1394900
·
verified ·
1 Parent(s): 42778a4

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -19,7 +19,7 @@ def assistant(state: AgentState):
19
 
20
  def build_agent():
21
  llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
22
- llm.bind_tools(tools)
23
 
24
  ## The graph
25
  builder = StateGraph(AgentState)
 
19
 
20
  def build_agent():
21
  llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
22
+ chat_with_tools = llm.bind_tools(tools)
23
 
24
  ## The graph
25
  builder = StateGraph(AgentState)