Skip to content

Commit 2801c78

Browse files
committed
Bump default OpenAI text-generation model (gpt-5.1 -> gpt-5.2)
1 parent f4c698a commit 2801c78

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/sample-provider-configs/openai.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
base_url: https://api.openai.com/v1
22
api_key: YOUR_API_KEY_HERE
33
text_generation:
4-
model_id: gpt-5.1
4+
model_id: gpt-5.2
55
prompt: "You are a brief, but helpful bot called {{ baibot_name }} powered by the {{ baibot_model_id }} model. The date/time of this conversation's start is: {{ baibot_conversation_start_time_utc }}."
66
temperature: 1.0
77
# Reasoning models need to use `max_completion_tokens` instead of `max_response_tokens`.

etc/app/config.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ agents:
7676
# base_url: https://api.openai.com/v1
7777
# api_key: ""
7878
# text_generation:
79-
# model_id: gpt-5.1
79+
# model_id: gpt-5.2
8080
# prompt: "You are a brief, but helpful bot called {{ baibot_name }} powered by the {{ baibot_model_id }} model. The date/time of this conversation's start is: {{ baibot_conversation_start_time_utc }}."
8181
# temperature: 1.0
8282
# # Reasoning models need to use `max_completion_tokens` instead of `max_response_tokens`.

src/agent/provider/openai/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl Default for TextGenerationConfig {
8080
}
8181

8282
fn default_text_model_id() -> String {
83-
"gpt-5.1".to_owned()
83+
"gpt-5.2".to_owned()
8484
}
8585

8686
#[derive(Debug, Clone, Serialize, Deserialize)]

0 commit comments

Comments
 (0)