mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 08:26:22 +02:00
bugfix: python sdk losing state
This commit is contained in:
parent
3e8bc1a2c1
commit
05581e4e9d
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rowboat"
|
name = "rowboat"
|
||||||
version = "3.0.0"
|
version = "3.1.0"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Ramnique Singh", email = "ramnique@rowboatlabs.com" },
|
{ name = "Ramnique Singh", email = "ramnique@rowboatlabs.com" },
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ class StatefulChat:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Update internal state
|
# Update internal state
|
||||||
self.messages = response_data.messages
|
self.messages.extend(response_data.messages)
|
||||||
self.state = response_data.state
|
self.state = response_data.state
|
||||||
|
|
||||||
# Return only the final message content
|
# Return only the final message content
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue