bugfix: python sdk losing state

This commit is contained in:
Ramnique Singh 2025-04-10 01:34:29 +05:30
parent 3e8bc1a2c1
commit 05581e4e9d
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ class StatefulChat:
)
# Update internal state
self.messages = response_data.messages
self.messages.extend(response_data.messages)
self.state = response_data.state
# Return only the final message content