itskavya commited on
Commit
4e61f34
·
verified ·
1 Parent(s): dbdd61b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ class State(TypedDict):
25
 
26
  def assistant(state:State):
27
  system_message = SystemMessage("You are a helpful assistant. Your job is to answer the questions asked of you as accurately as possible. You have access to search and browser tools, which you may use when needed to answer a question.")
28
- print(llm_with_tools.invoke([HumanMessage("Hi how are you?")]))
29
  return {
30
  "messages": [llm_with_tools.invoke([system_message] + state["messages"])]
31
  }
 
25
 
26
  def assistant(state:State):
27
  system_message = SystemMessage("You are a helpful assistant. Your job is to answer the questions asked of you as accurately as possible. You have access to search and browser tools, which you may use when needed to answer a question.")
28
+ print(state["messages"])
29
  return {
30
  "messages": [llm_with_tools.invoke([system_message] + state["messages"])]
31
  }