From 3a082457f2e2c9e9c676b595c624052661148dd9 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 3 Oct 2024 09:29:13 +0300 Subject: [PATCH] Update default OpenAI provider for biabot to use gpt-4o (instead of gpt-4o-2024-08-06) Since 2024-10-02, `gpt-4o` is actually the same as `gpt-4o-2024-08-06`. We previously used `gpt-4o-2024-08-06`, because it was pointing to a much better (longer context) model. Since they're both the same now, we'd better stick to the unpinned model and make it easier for future users to get upgrades. --- docs/configuring-playbook-bot-baibot.md | 2 +- roles/custom/matrix-bot-baibot/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuring-playbook-bot-baibot.md b/docs/configuring-playbook-bot-baibot.md index 6397584fe..6024015e5 100644 --- a/docs/configuring-playbook-bot-baibot.md +++ b/docs/configuring-playbook-bot-baibot.md @@ -249,7 +249,7 @@ matrix_bot_baibot_config_agents_static_definitions_openai_config_api_key: "YOUR_ # matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_prompt: "{{ matrix_bot_baibot_config_agents_static_definitions_prompt }}" # If you'd like to use another text-generation agent, uncomment and adjust: -# matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_model_id: gpt-4o-2024-08-06 +# matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_model_id: gpt-4o # See `defaults/main.yml` in the baibot role for more configuration options. ``` diff --git a/roles/custom/matrix-bot-baibot/defaults/main.yml b/roles/custom/matrix-bot-baibot/defaults/main.yml index eab2ed506..6b7fdbc54 100644 --- a/roles/custom/matrix-bot-baibot/defaults/main.yml +++ b/roles/custom/matrix-bot-baibot/defaults/main.yml @@ -356,7 +356,7 @@ matrix_bot_baibot_config_agents_static_definitions_openai_config_api_key: "" matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_enabled: true # For valid model choices, see: https://platform.openai.com/docs/models -matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_model_id: gpt-4o-2024-08-06 +matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_model_id: gpt-4o # The prompt text to use (can be null or empty to not use a prompt). # See: https://huggingface.co/docs/transformers/en/tasks/prompting matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_prompt: "{{ matrix_bot_baibot_config_agents_static_definitions_prompt }}"