From 1df2465222da6f465da287b81c120aa35e6841e6 Mon Sep 17 00:00:00 2001 From: Yu Zhang Date: Wed, 29 Jan 2025 15:18:59 +0900 Subject: [PATCH 1/2] Fix docs regarding extra_body --- aider/website/docs/config/adv-model-settings.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/aider/website/docs/config/adv-model-settings.md b/aider/website/docs/config/adv-model-settings.md index 58fa86bf1..7e8aa55a6 100644 --- a/aider/website/docs/config/adv-model-settings.md +++ b/aider/website/docs/config/adv-model-settings.md @@ -108,12 +108,13 @@ These settings will be merged with any model-specific settings, with the You need this chunk of yaml: ``` - extra_body: - reasoning_effort: high + extra_params: + extra_body: + reasoning_effort: high ``` This is a full entry for o1 with that setting, obtained by finding the default -entry in the list below and adding the above `extra_body` entry: +entry in the list below and adding the above `extra_params` entry: ``` - name: o1 @@ -132,8 +133,9 @@ entry in the list below and adding the above `extra_body` entry: streaming: false editor_model_name: gpt-4o editor_edit_format: editor-diff - extra_body: - reasoning_effort: high + extra_params: + extra_body: + reasoning_effort: high ``` ### Default model settings From 19e9e52c4f82245edb1e62a5a7a68a67d8c2c469 Mon Sep 17 00:00:00 2001 From: Yu Zhang Date: Wed, 29 Jan 2025 15:27:32 +0900 Subject: [PATCH 2/2] remove redundant `extra_params` --- aider/website/docs/config/adv-model-settings.md | 1 - 1 file changed, 1 deletion(-) diff --git a/aider/website/docs/config/adv-model-settings.md b/aider/website/docs/config/adv-model-settings.md index 7e8aa55a6..4cdbf345e 100644 --- a/aider/website/docs/config/adv-model-settings.md +++ b/aider/website/docs/config/adv-model-settings.md @@ -125,7 +125,6 @@ entry in the list below and adding the above `extra_params` entry: lazy: false reminder: user examples_as_sys_msg: false - extra_params: null cache_control: false caches_by_default: false use_system_prompt: true