Просмотр исходного кода

Add license information to files for matrix-bot-baibot

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4121/head
Suguru Hirahara 1 год назад
Родитель
Сommit
0a8117d96c
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
13 измененных файлов: 59 добавлений и 0 удалений
  1. +7
    -0
      docs/configuring-playbook-bot-baibot.md
  2. +6
    -0
      roles/custom/matrix-bot-baibot/defaults/main.yml
  3. +5
    -0
      roles/custom/matrix-bot-baibot/tasks/install.yml
  4. +4
    -0
      roles/custom/matrix-bot-baibot/tasks/main.yml
  5. +4
    -0
      roles/custom/matrix-bot-baibot/tasks/uninstall.yml
  6. +4
    -0
      roles/custom/matrix-bot-baibot/tasks/validate_config.yml
  7. +7
    -0
      roles/custom/matrix-bot-baibot/templates/config.yaml.j2
  8. +6
    -0
      roles/custom/matrix-bot-baibot/templates/env.j2
  9. +3
    -0
      roles/custom/matrix-bot-baibot/templates/provider/anthropic-config.yml.j2.license
  10. +3
    -0
      roles/custom/matrix-bot-baibot/templates/provider/groq-config.yml.j2.license
  11. +3
    -0
      roles/custom/matrix-bot-baibot/templates/provider/mistral-config.yml.j2.license
  12. +3
    -0
      roles/custom/matrix-bot-baibot/templates/provider/openai-config.yml.j2.license
  13. +4
    -0
      roles/custom/matrix-bot-baibot/templates/systemd/matrix-bot-baibot.service.j2.license

+ 7
- 0
docs/configuring-playbook-bot-baibot.md Просмотреть файл

@@ -1,3 +1,10 @@
<!--
SPDX-FileCopyrightText: 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Setting up baibot (optional)

<p align="center">


+ 6
- 0
roles/custom/matrix-bot-baibot/defaults/main.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2024 Nikita Chernyi
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

# baibot is a bot exposing the power of Large Language Models to you.


+ 5
- 0
roles/custom/matrix-bot-baibot/tasks/install.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure baibot paths exist


+ 4
- 0
roles/custom/matrix-bot-baibot/tasks/main.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 4
- 0
roles/custom/matrix-bot-baibot/tasks/uninstall.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-baibot service


+ 4
- 0
roles/custom/matrix-bot-baibot/tasks/validate_config.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if required baibot settings not defined


+ 7
- 0
roles/custom/matrix-bot-baibot/templates/config.yaml.j2 Просмотреть файл

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
#}

# Default configuration for baibot.
# To extend it, use `matrix_bot_baibot_configuration_extension_yaml`.



+ 6
- 0
roles/custom/matrix-bot-baibot/templates/env.j2 Просмотреть файл

@@ -1 +1,7 @@
{#
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{{ matrix_bot_baibot_environment_variables_extension }}

+ 3
- 0
roles/custom/matrix-bot-baibot/templates/provider/anthropic-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-bot-baibot/templates/provider/groq-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-bot-baibot/templates/provider/mistral-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-bot-baibot/templates/provider/openai-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 4
- 0
roles/custom/matrix-bot-baibot/templates/systemd/matrix-bot-baibot.service.j2.license Просмотреть файл

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2024 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later

Загрузка…
Отмена
Сохранить