Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

docs(contrib): replace poetry shell with env activate for 2.0 (#2381)

Krishnakumar R (KK)8863a3a1df3a
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c7b7d3a52..3ea08c3c6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -28,7 +28,7 @@ First, install Poetry using [the official instructions here](https://python-poet
Once Poetry is installed, navigate to the letta directory and install the Letta project with Poetry:
```shell
cd letta
-poetry shell
+eval $(poetry env activate)
poetry install --all-extras
```
#### Setup PostgreSQL environment (optional)
@@ -60,8 +60,8 @@ alembic upgrade head
Now when you want to use `letta`, make sure you first activate the `poetry` environment using poetry shell:
```shell
-$ poetry shell
-(pyletta-py3.12) $ letta run
+$ eval $(poetry env activate)
+(letta-py3.12) $ letta run
```
Alternatively, you can use `poetry run` (which will activate the `poetry` environment for the `letta run` command only):