Fix typo
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ class BasicAgent:
|
|
| 72 |
def assistant(self, state: State):
|
| 73 |
print("Assistant invoked. State:", state)
|
| 74 |
|
| 75 |
-
response = self.model_with_tools.invoke(messages)
|
| 76 |
print("Assistant response:", response)
|
| 77 |
|
| 78 |
return {
|
|
|
|
| 72 |
def assistant(self, state: State):
|
| 73 |
print("Assistant invoked. State:", state)
|
| 74 |
|
| 75 |
+
response = self.model_with_tools.invoke(state["messages"])
|
| 76 |
print("Assistant response:", response)
|
| 77 |
|
| 78 |
return {
|