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 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 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