Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into swe-bench-results
Browse files Browse the repository at this point in the history
  • Loading branch information
granawkins committed Mar 30, 2024
2 parents e84838d + ba714d5 commit bbf9e3b
Show file tree
Hide file tree
Showing 50 changed files with 1,291 additions and 467 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Changelog

In this changelog focus on user facing highlights and stick to the format. This information will be used to motivate users to upgrade or after upgrading to inform them of features that might otherwise not be very discoverable.

`1.0.11 <https://pypi.org/project/mentat/1.0.11/>`__
--------------------------------------------------

- Added /save and /load command to save and load context selections
- Changed format to fit Anthropic models
- Other bug fixes

`1.0.10 <https://pypi.org/project/mentat/1.0.10/>`__
--------------------------------------------------

Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# 🧙‍♂️ Mentat ⚡

> _It is by will alone I set my mind in motion_
>
>
> The Mentat Mantra
The Mentats of Dune combine human creativity with computer-like processing - and now you can too.
Expand All @@ -25,9 +25,10 @@ Want help understanding a new codebase? Need to add a new feature? Refactor exis
https://github.com/AbanteAI/mentat/assets/128252497/35b027a9-d639-452c-a53c-ef019a645719

See more videos on [Twitter](https://twitter.com/bio_bootloader/status/1683906735248125955) or YouTube:
- [Intro (2 min - same video as above)](https://www.youtube.com/watch?v=lODjaWclwpY)
- [Explaining and editing Llama2.c (3 min)](https://www.youtube.com/watch?v=qSyTWMFOjPs)
- [More Mentat features (4 min)](https://www.youtube.com/watch?v=YJLDIqq8k2A)

- [Intro (2 min - same video as above)](https://www.youtube.com/watch?v=lODjaWclwpY)
- [Explaining and editing Llama2.c (3 min)](https://www.youtube.com/watch?v=qSyTWMFOjPs)
- [More Mentat features (4 min)](https://www.youtube.com/watch?v=YJLDIqq8k2A)

# ⚙️ Setup

Expand All @@ -46,8 +47,9 @@ source .venv/bin/activate
Note that you'll have to have activated the virtual environment to run mentat if you install it there.

There are then 3 install methods. The first two will just let you run it:
- PyPI: `python -m pip install mentat`
- Github: `python -m pip install git+https://github.com/AbanteAI/mentat.git`

- PyPI: `python -m pip install mentat`
- Github: `python -m pip install git+https://github.com/AbanteAI/mentat.git`

The third option is useful if you'd also like to modify Mentat's code, as well as run it:

Expand Down Expand Up @@ -88,10 +90,9 @@ Mentat uses [Textual](https://textual.textualize.io/). On MacOS, Textual may not
We welcome contributions! To coordinate, make sure to join the Discord server: [![Discord Follow](https://dcbadge.vercel.app/api/server/XbPdxAMJte?style=flat)](https://discord.gg/zbvd9qx9Pb)

The goal for Mentat is to become the best way to write code. Some big improvements coming up are:
- improved user interface and options (VSCode and other editor integrations, etc)
- use with LLMs other than GPT-4
- seamlessly work with codebases much larger than LLM context limits, without requiring users to filter files manually
- improved edit quality

- seamlessly work with codebases much larger than LLM context limits, without requiring users to filter files manually
- improved edit quality

If this is something you'd like to work on, jump right in! And if you want to join the team to work on this full time, message [@bio_bootloader](https://twitter.com/bio_bootloader) on twitter.

Expand Down
4 changes: 2 additions & 2 deletions mentat-vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ npm install
npm run build
```

3. If you want to test changes to Mentat on a branch, you need to egg install (`pip install -3 path/to/repo`)
your branch of mentat into a venv at `~/mentat/.venv`; otherwise, the extension will automatically pip install mentat for you.
3. If you want to test changes to Mentat on a branch, you need to egg install (`pip install -e path/to/repo`)
your branch of mentat into a venv at `~/.mentat/.venv`; otherwise, the extension will automatically pip install mentat for you.

**Without the VSCode Debugger**

Expand Down
Binary file added mentat-vscode/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
147 changes: 132 additions & 15 deletions mentat-vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bbf9e3b

Please sign in to comment.