From bb748fe5059dcebbe410e9c9b6ac1809744ff11c Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Thu, 10 Apr 2025 01:13:47 +0530 Subject: [PATCH 1/3] fix auth0 params --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b62af7ff..f0384d74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,11 +11,11 @@ services: - OPENAI_API_KEY=${OPENAI_API_KEY} - MONGODB_CONNECTION_STRING=mongodb://mongo:27017/rowboat - USE_AUTH=${USE_AUTH} - - AUTH0_SECRET="test" - - AUTH0_BASE_URL="http://localhost:3000" - - AUTH0_ISSUER_BASE_URL="http://localhost:3000" - - AUTH0_CLIENT_ID="test" - - AUTH0_CLIENT_SECRET="test" + - AUTH0_SECRET=test_secret + - AUTH0_BASE_URL=http://localhost:3000 + - AUTH0_ISSUER_BASE_URL=https://test.com + - AUTH0_CLIENT_ID=test + - AUTH0_CLIENT_SECRET=test - AGENTS_API_URL=http://rowboat_agents:3001 - AGENTS_API_KEY=${AGENTS_API_KEY} - COPILOT_API_URL=http://copilot:3002 From 3e8bc1a2c12acd2fa368d406a666046bd7f182af Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Thu, 10 Apr 2025 01:31:40 +0530 Subject: [PATCH 2/3] fix readme --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dfe3b599..c77f6ad4 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,12 @@ There are 2 ways to integrate with the agents you create in Rowboat 2. Python SDK - - You can use the included Python SDK to interact with the Agents - - See [SDK Docs](https://docs.rowboatlabs.com/using_the_sdk/) for details + You can use the included Python SDK to interact with the Agents + ``` + pip install rowboat + ``` + + See [SDK Docs](https://docs.rowboatlabs.com/using_the_sdk/) for details. Here is a quick example: ```python from rowboat import Client, StatefulChat from rowboat.schema import UserMessage, SystemMessage From 05581e4e9d3e7cf7883a7ddddc55f173e4b094fa Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Thu, 10 Apr 2025 01:34:29 +0530 Subject: [PATCH 3/3] bugfix: python sdk losing state --- apps/python-sdk/pyproject.toml | 2 +- apps/python-sdk/src/rowboat/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/python-sdk/pyproject.toml b/apps/python-sdk/pyproject.toml index b107d8b6..d31b2766 100644 --- a/apps/python-sdk/pyproject.toml +++ b/apps/python-sdk/pyproject.toml @@ -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" }, ] diff --git a/apps/python-sdk/src/rowboat/client.py b/apps/python-sdk/src/rowboat/client.py index d270c0c5..555d8676 100644 --- a/apps/python-sdk/src/rowboat/client.py +++ b/apps/python-sdk/src/rowboat/client.py @@ -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