Default OpenAI text-generation model to gpt-4.1 (previously gpt-4o)

This commit is contained in:
Slavi Pantaleev
2025-05-03 09:34:54 +03:00
parent f304b93c68
commit 8222681e27
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
base_url: https://api.openai.com/v1
api_key: YOUR_API_KEY_HERE
text_generation:
model_id: gpt-4o
model_id: gpt-4.1
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
max_response_tokens: 16384

View File

@@ -79,7 +79,7 @@ impl Default for TextGenerationConfig {
}
fn default_text_model_id() -> String {
"gpt-4o".to_owned()
"gpt-4.1".to_owned()
}
#[derive(Debug, Clone, Serialize, Deserialize)]