Spaces:
Sleeping
Sleeping
File size: 246 Bytes
584c037 | 1 2 3 4 5 | from langchain_core.graph import MessageState
def assistant(state: MessageState):
""" Assistant node that will receive a question and return an answer """
return {"messages": [llm_with_tools.invoke([system_message] + state["messages"])]} |