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

Edit roles file for matrix-bot-chatgpt: align example user ID with the documentation

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3862/head
Suguru Hirahara 1 год назад
Родитель
Сommit
bb81885a5b
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      roles/custom/matrix-bot-chatgpt/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-bot-chatgpt/templates/env.j2

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

@@ -57,7 +57,7 @@ matrix_bot_chatgpt_keyv_bot_storage: true
# Matrix Static Settings (required, see notes)
# Defaults to "https://matrix.org"
matrix_bot_chatgpt_matrix_homeserver_url: "" # MATRIX_HOMESERVER_URL=
# With the @ and :example.com, ie @alice:example.com, needs to be set, created manually beforehand.
# With the @ and :example.com, ie @bot.chatgpt:example.com, needs to be set, created manually beforehand.
matrix_bot_chatgpt_matrix_bot_username_localpart: 'bot.chatgpt'
matrix_bot_chatgpt_matrix_bot_username: "@{{ matrix_bot_chatgpt_matrix_bot_username_localpart }}:{{ matrix_domain }}" # MATRIX_BOT_USERNAME=
# Set `MATRIX_BOT_PASSWORD` the bot will print an `MATRIX_ACCESS_TOKEN` to the terminal


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

@@ -10,7 +10,7 @@ KEYV_URL={{ matrix_bot_chatgpt_keyv_url }}
KEYV_BOT_ENCRYPTION={{ matrix_bot_chatgpt_keyv_bot_encryption|lower }}
KEYV_BOT_STORAGE={{ matrix_bot_chatgpt_keyv_bot_storage|lower }}

# With the @ and :example.com, ie @alice:example.com
# With the @ and :example.com, ie @bot.chatgpt:example.com
MATRIX_BOT_USERNAME={{ matrix_bot_chatgpt_matrix_bot_username }}
MATRIX_BOT_PASSWORD={{ matrix_bot_chatgpt_matrix_bot_password }}



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