Spaces:
Sleeping
Sleeping
Update src/chat_langraph.py
Browse files- src/chat_langraph.py +1 -1
src/chat_langraph.py
CHANGED
|
@@ -219,7 +219,7 @@ def input_node(state: chatstate):
|
|
| 219 |
|
| 220 |
|
| 221 |
def llmresponse(state: chatstate):
|
| 222 |
-
response = llm.
|
| 223 |
|
| 224 |
return {"messages": [response]};
|
| 225 |
|
|
|
|
| 219 |
|
| 220 |
|
| 221 |
def llmresponse(state: chatstate):
|
| 222 |
+
response = llm.invoke(state["messages"])
|
| 223 |
|
| 224 |
return {"messages": [response]};
|
| 225 |
|