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

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "rowboat"
version = "3.0.0"
version = "3.1.0"
authors = [
{ name = "Ramnique Singh", email = "ramnique@rowboatlabs.com" },
]

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