DiegoSanC
refactor: :recycle: Move langgraph solution to langgraph folder as it is not working properly
d4598ef
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"])]}