WeByT3 commited on
Commit
7056471
·
verified ·
1 Parent(s): 654f1b2

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -14,7 +14,7 @@ def build_agent():
14
  chat_with_tools = llm.bind_tools(tools)
15
 
16
  def assistant(state: MessagesState):
17
- response = chat_with_tools.invoke(context + state["messages"])
18
  return {
19
  "messages": [response]
20
  }
 
14
  chat_with_tools = llm.bind_tools(tools)
15
 
16
  def assistant(state: MessagesState):
17
+ response = chat_with_tools.invoke(state["messages"])
18
  return {
19
  "messages": [response]
20
  }