Files
letta-server/docs/contributing.md
Sarah Wooders fb29290dd4 Dependency management (#337)
* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`. 
* Update docs
2023-11-06 19:45:44 -08:00

22 lines
598 B
Markdown

# Contributing
## Installing from source
First, install Poetry using [the official instructions here](https://python-poetry.org/docs/#installing-with-the-official-installer).
Then, you can install MemGPT from source with:
```sh
git clone git@github.com:cpacker/MemGPT.git
poetry install -E dev
```
We recommend installing pre-commit to ensure proper formatting during development:
```sh
poetry run pre-commit install
poetry run pre-commit run --all-files
```
### Formatting
We welcome pull requests! Please run the formatter before submitting a pull request:
```sh
poetry run black . -l 140
```