* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`. * Update docs
22 lines
598 B
Markdown
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
|
|
```
|