From 2801c78ad93ec2380c2eee0aec71a4f546a1d3fe Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 12 Dec 2025 16:05:16 +0200 Subject: [PATCH] Bump default OpenAI text-generation model (`gpt-5.1` -> `gpt-5.2`) --- docs/sample-provider-configs/openai.yml | 2 +- etc/app/config.yml.dist | 2 +- src/agent/provider/openai/config.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sample-provider-configs/openai.yml b/docs/sample-provider-configs/openai.yml index 1e349d2..05d2ee2 100644 --- a/docs/sample-provider-configs/openai.yml +++ b/docs/sample-provider-configs/openai.yml @@ -1,7 +1,7 @@ base_url: https://api.openai.com/v1 api_key: YOUR_API_KEY_HERE text_generation: - model_id: gpt-5.1 + model_id: gpt-5.2 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 }}." temperature: 1.0 # Reasoning models need to use `max_completion_tokens` instead of `max_response_tokens`. diff --git a/etc/app/config.yml.dist b/etc/app/config.yml.dist index 2785301..2495970 100644 --- a/etc/app/config.yml.dist +++ b/etc/app/config.yml.dist @@ -76,7 +76,7 @@ agents: # base_url: https://api.openai.com/v1 # api_key: "" # text_generation: - # model_id: gpt-5.1 + # model_id: gpt-5.2 # 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 }}." # temperature: 1.0 # # Reasoning models need to use `max_completion_tokens` instead of `max_response_tokens`. diff --git a/src/agent/provider/openai/config.rs b/src/agent/provider/openai/config.rs index e503543..7403ff5 100644 --- a/src/agent/provider/openai/config.rs +++ b/src/agent/provider/openai/config.rs @@ -80,7 +80,7 @@ impl Default for TextGenerationConfig { } fn default_text_model_id() -> String { - "gpt-5.1".to_owned() + "gpt-5.2".to_owned() } #[derive(Debug, Clone, Serialize, Deserialize)]