This commit is contained in:
Paul Gauthier 2024-09-21 10:09:26 -07:00
parent 5493654981
commit 412b8e7c3c
5 changed files with 12 additions and 14 deletions

View file

@ -7,12 +7,13 @@
- `aider --model o1-mini` - `aider --model o1-mini`
- `aider --model o1-preview` - `aider --model o1-preview`
- On Windows, `/run` correctly uses PowerShell or cmd.exe. - On Windows, `/run` correctly uses PowerShell or cmd.exe.
- Support for new 08-2024 Cohere models. - Support for new 08-2024 Cohere models, by @jalammar.
- Can now recursively add directories with `/read-only`. - Can now recursively add directories with `/read-only`.
- User input prompts now fall back to simple `input()` if `--no-pretty` or a Windows console is not available. - User input prompts now fall back to simple `input()` if `--no-pretty` or a Windows console is not available.
- Improved sanity check of git repo on startup. - Improved sanity check of git repo on startup.
- Improvements to prompt cache chunking strategy. - Improvements to prompt cache chunking strategy.
- Bugfix to remove spurious "No changes made to git tracked files." - Removed "No changes made to git tracked files".
- Numerous bug fixes for corner case crashes.
### Aider v0.56.0 ### Aider v0.56.0

View file

@ -22,12 +22,13 @@ cog.out(text)
- `aider --model o1-mini` - `aider --model o1-mini`
- `aider --model o1-preview` - `aider --model o1-preview`
- On Windows, `/run` correctly uses PowerShell or cmd.exe. - On Windows, `/run` correctly uses PowerShell or cmd.exe.
- Support for new 08-2024 Cohere models. - Support for new 08-2024 Cohere models, by @jalammar.
- Can now recursively add directories with `/read-only`. - Can now recursively add directories with `/read-only`.
- User input prompts now fall back to simple `input()` if `--no-pretty` or a Windows console is not available. - User input prompts now fall back to simple `input()` if `--no-pretty` or a Windows console is not available.
- Improved sanity check of git repo on startup. - Improved sanity check of git repo on startup.
- Improvements to prompt cache chunking strategy. - Improvements to prompt cache chunking strategy.
- Bugfix to remove spurious "No changes made to git tracked files." - Removed "No changes made to git tracked files".
- Numerous bug fixes for corner case crashes.
### Aider v0.56.0 ### Aider v0.56.0

View file

@ -61,16 +61,9 @@ better harness the o1 models.
## Using aider with o1 ## Using aider with o1
OpenAI's new o1 models are supported in the development version of aider: OpenAI's new o1 models are supported in v0.57.0 of aider:
``` ```
# To upgrade to the development version:
aider --install-main-branch
# Or, to upgrade/install:
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git
# To launch aider with an o1 model:
aider --model o1-mini aider --model o1-mini
aider --model o1-preview aider --model o1-preview
``` ```

View file

@ -181,6 +181,6 @@ mod_dates = [get_last_modified_date(file) for file in files]
latest_mod_date = max(mod_dates) latest_mod_date = max(mod_dates)
cog.out(f"{latest_mod_date.strftime('%B %d, %Y.')}") cog.out(f"{latest_mod_date.strftime('%B %d, %Y.')}")
]]]--> ]]]-->
September 20, 2024. September 21, 2024.
<!--[[[end]]]--> <!--[[[end]]]-->
</p> </p>

View file

@ -549,7 +549,10 @@ def run_test_real(
chat_history_file=history_fname, chat_history_file=history_fname,
) )
main_model = models.Model(model_name, weak_model=model_name) # weak_model_name = model_name
weak_model_name = None
main_model = models.Model(model_name, weak_model=weak_model_name)
edit_format = edit_format or main_model.edit_format edit_format = edit_format or main_model.edit_format
dump(main_model) dump(main_model)