diff --git a/docs/sample-provider-configs/openai.yml b/docs/sample-provider-configs/openai.yml index 3d5bc9c..2c5db6c 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-4o-2024-08-06 + model_id: gpt-4o prompt: "You are a brief, but helpful bot called {{ baibot_name }} powered by the {{ baibot_model_id }} model. The date/time now is: {{ baibot_now_utc }}." temperature: 1.0 max_response_tokens: 16384 diff --git a/etc/app/config.yml.dist b/etc/app/config.yml.dist index 6842e48..b661937 100644 --- a/etc/app/config.yml.dist +++ b/etc/app/config.yml.dist @@ -72,7 +72,7 @@ agents: # base_url: https://api.openai.com/v1 # api_key: "" # text_generation: - # model_id: gpt-4o-2024-08-06 + # model_id: gpt-4o # prompt: "You are a brief, but helpful bot called {{ baibot_name }} powered by the {{ baibot_model_id }} model. The date/time now is: {{ baibot_now_utc }}." # temperature: 1.0 # max_response_tokens: 16384 diff --git a/src/agent/provider/openai/config.rs b/src/agent/provider/openai/config.rs index 2a4cfab..bcfd623 100644 --- a/src/agent/provider/openai/config.rs +++ b/src/agent/provider/openai/config.rs @@ -75,7 +75,7 @@ impl Default for TextGenerationConfig { } fn default_text_model_id() -> String { - "gpt-4o-2024-08-06".to_owned() + "gpt-4o".to_owned() } #[derive(Debug, Clone, Serialize, Deserialize)]