This commit is contained in:
Paul Gauthier 2024-09-12 14:52:27 -07:00
parent 859fc1f184
commit 9f4d9d801e
3 changed files with 9 additions and 6 deletions

View file

@ -1104,7 +1104,7 @@
indentation_errors: 0 indentation_errors: 0
exhausted_context_windows: 0 exhausted_context_windows: 0
test_timeouts: 1 test_timeouts: 1
command: aider --model openai/o1-mini --no-stream command: aider --model o1-mini
date: 2024-09-12 date: 2024-09-12
versions: 0.56.1.dev versions: 0.56.1.dev
seconds_per_case: 103.0 seconds_per_case: 103.0

View file

@ -87,7 +87,7 @@
indentation_errors: 0 indentation_errors: 0
exhausted_context_windows: 0 exhausted_context_windows: 0
test_timeouts: 1 test_timeouts: 1
command: aider --model openai/o1-mini --no-stream command: aider --model o1-mini
date: 2024-09-12 date: 2024-09-12
versions: 0.56.1.dev versions: 0.56.1.dev
seconds_per_case: 103.0 seconds_per_case: 103.0

View file

@ -27,16 +27,19 @@ efficiently edit the source code.
The whole format requires the o1-mini to return a fresh copy of the entire file, The whole format requires the o1-mini to return a fresh copy of the entire file,
increasing costs and latency. increasing costs and latency.
OpenAI o1-mini does not support system prompts, temperature settings or streaming.
Aider has been updated to work within these constraints. ## Using aider with o1-mini and o1-preview
To use o1-mini with aider you need to run the latest version from the main branch:
OpenAI's new o1 models are supported in the development version of aider:
``` ```
aider --install-main-branch aider --install-main-branch
# or... # or...
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git
aider --model openai/o1-mini --no-stream aider --model o1-mini
aider --model o1-preview
``` ```
{: .note } {: .note }