From a0091c47055c8b7e9a3be2f8f95b916dd1cb93a5 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 2 Nov 2026 23:51:47 +0200 Subject: [PATCH] matrix-authentication-service: remove stray baibot provider templates templates/provider/ held copies of matrix-bot-baibot's LLM provider templates (anthropic, groq, mistral, openai), added by accident with the role. Nothing renders them and the variables they use are defined nowhere. Co-Authored-By: Claude Opus 5.5 --- .../provider/anthropic-config.yml.j2 | 13 -------- .../provider/anthropic-config.yml.j2.license | 3 -- .../templates/provider/groq-config.yml.j2 | 18 ---------- .../provider/groq-config.yml.j2.license | 3 -- .../templates/provider/mistral-config.yml.j2 | 13 -------- .../provider/mistral-config.yml.j2.license | 3 -- .../templates/provider/openai-config.yml.j2 | 33 ------------------- .../provider/openai-config.yml.j2.license | 3 -- 8 files changed, 89 deletions(-) delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2 delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2.license delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2 delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2.license delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2 delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2.license delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2 delete mode 100644 roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2.license diff --git a/roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2 b/roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2 deleted file mode 100644 index 97ac3c477..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2 +++ /dev/null @@ -1,13 +0,0 @@ -#jinja2: lstrip_blocks: True -base_url: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_base_url | to_json }} - -api_key: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_api_key | to_json }} - -{% if matrix_authentication_service_config_agents_static_definitions_anthropic_config_text_generation_enabled %} -text_generation: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_text_generation_model_id | to_json }} - prompt: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_text_generation_prompt | to_json }} - temperature: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_text_generation_temperature | to_json }} - max_response_tokens: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_text_generation_max_response_tokens | int | to_json }} - max_context_tokens: {{ matrix_authentication_service_config_agents_static_definitions_anthropic_config_text_generation_max_context_tokens | int | to_json }} -{% endif %} diff --git a/roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2.license b/roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2.license deleted file mode 100644 index e64bd56b9..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: 2024 Slavi Pantaleev - -SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2 b/roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2 deleted file mode 100644 index 6bafce672..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2 +++ /dev/null @@ -1,18 +0,0 @@ -#jinja2: lstrip_blocks: True -base_url: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_base_url | to_json }} - -api_key: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_api_key | to_json }} - -{% if matrix_authentication_service_config_agents_static_definitions_groq_config_text_generation_enabled %} -text_generation: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_text_generation_model_id | to_json }} - prompt: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_text_generation_prompt | to_json }} - temperature: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_text_generation_temperature | to_json }} - max_response_tokens: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_text_generation_max_response_tokens | int | to_json }} - max_context_tokens: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_text_generation_max_context_tokens | int | to_json }} -{% endif %} - -{% if matrix_authentication_service_config_agents_static_definitions_groq_config_speech_to_text_enabled %} -speech_to_text: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_groq_config_speech_to_text_model_id | to_json }} -{% endif %} diff --git a/roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2.license b/roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2.license deleted file mode 100644 index e64bd56b9..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: 2024 Slavi Pantaleev - -SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2 b/roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2 deleted file mode 100644 index 5e1265f39..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2 +++ /dev/null @@ -1,13 +0,0 @@ -#jinja2: lstrip_blocks: True -base_url: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_base_url | to_json }} - -api_key: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_api_key | to_json }} - -{% if matrix_authentication_service_config_agents_static_definitions_mistral_config_text_generation_enabled %} -text_generation: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_text_generation_model_id | to_json }} - prompt: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_text_generation_prompt | to_json }} - temperature: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_text_generation_temperature | to_json }} - max_response_tokens: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_text_generation_max_response_tokens | int | to_json }} - max_context_tokens: {{ matrix_authentication_service_config_agents_static_definitions_mistral_config_text_generation_max_context_tokens | int | to_json }} -{% endif %} diff --git a/roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2.license b/roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2.license deleted file mode 100644 index e64bd56b9..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: 2024 Slavi Pantaleev - -SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2 b/roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2 deleted file mode 100644 index 63a10e30e..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2 +++ /dev/null @@ -1,33 +0,0 @@ -#jinja2: lstrip_blocks: True -base_url: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_base_url | to_json }} - -api_key: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_api_key | to_json }} - -{% if matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_enabled %} -text_generation: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_model_id | to_json }} - prompt: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_prompt | to_json }} - temperature: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_temperature | to_json }} - max_response_tokens: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_max_response_tokens | int | to_json }} - max_context_tokens: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_max_context_tokens | int | to_json }} -{% endif %} - -{% if matrix_authentication_service_config_agents_static_definitions_openai_config_speech_to_text_enabled %} -speech_to_text: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_speech_to_text_model_id | to_json }} -{% endif %} - -{% if matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_enabled %} -text_to_speech: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_model_id | to_json }} - voice: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_voice | to_json }} - speed: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_speed | float }} - response_format: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_response_format | to_json }} -{% endif %} - -{% if matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_enabled %} -image_generation: - model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_model_id | to_json }} - style: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_style | to_json }} - size: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_size | to_json }} -{% endif %} diff --git a/roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2.license b/roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2.license deleted file mode 100644 index e64bd56b9..000000000 --- a/roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: 2024 Slavi Pantaleev - -SPDX-License-Identifier: AGPL-3.0-or-later