change version matrix-bot-chatgpt 1.4.1->2.1.0
This commit is contained in:
parent
65b8e0f4ef
commit
42a10e1956
@ -34,9 +34,8 @@ matrix_bot_chatgpt_enabled: true
|
|||||||
|
|
||||||
# See instructions on
|
# See instructions on
|
||||||
# https://www.npmjs.com/package/chatgpt
|
# https://www.npmjs.com/package/chatgpt
|
||||||
matrix_bot_chatgpt_openai_email: ''
|
# Get OpenAI API Key : https://platform.openai.com/account/api-keys
|
||||||
matrix_bot_chatgpt_openai_password: ''
|
matrix_bot_chatgpt_openai_apikey: ''
|
||||||
matrix_bot_chatgpt_openai_login_type: google
|
|
||||||
|
|
||||||
# This is the default username
|
# This is the default username
|
||||||
# matrix_bot_chatgpt_matrix_bot_username_localpart: 'bot.chatgpt'
|
# matrix_bot_chatgpt_matrix_bot_username_localpart: 'bot.chatgpt'
|
||||||
|
|||||||
@ -9,7 +9,7 @@ matrix_bot_chatgpt_docker_repo: "https://github.com/matrixgpt/matrix-chatgpt-bot
|
|||||||
matrix_bot_chatgpt_docker_repo_version: "{{ 'latest' if matrix_bot_chatgpt_version == 'latest' else matrix_bot_chatgpt_version }}"
|
matrix_bot_chatgpt_docker_repo_version: "{{ 'latest' if matrix_bot_chatgpt_version == 'latest' else matrix_bot_chatgpt_version }}"
|
||||||
matrix_bot_chatgpt_docker_src_files_path: "{{ matrix_base_data_path }}/chatgpt/docker-src"
|
matrix_bot_chatgpt_docker_src_files_path: "{{ matrix_base_data_path }}/chatgpt/docker-src"
|
||||||
|
|
||||||
matrix_bot_chatgpt_version: 1.4.1
|
matrix_bot_chatgpt_version: 2.1.0
|
||||||
matrix_bot_chatgpt_docker_image: "{{ matrix_bot_chatgpt_docker_image_name_prefix }}matrixgpt/matrix-chatgpt-bot:{{ matrix_bot_chatgpt_version }}"
|
matrix_bot_chatgpt_docker_image: "{{ matrix_bot_chatgpt_docker_image_name_prefix }}matrixgpt/matrix-chatgpt-bot:{{ matrix_bot_chatgpt_version }}"
|
||||||
matrix_bot_chatgpt_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_chatgpt_container_image_self_build else 'ghcr.io/' }}"
|
matrix_bot_chatgpt_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_chatgpt_container_image_self_build else 'ghcr.io/' }}"
|
||||||
matrix_bot_chatgpt_docker_image_force_pull: "{{ matrix_bot_chatgpt_docker_image.endswith(':latest') }}"
|
matrix_bot_chatgpt_docker_image_force_pull: "{{ matrix_bot_chatgpt_docker_image.endswith(':latest') }}"
|
||||||
@ -28,9 +28,7 @@ matrix_bot_chatgpt_systemd_required_services_list: ['docker.service']
|
|||||||
matrix_bot_chatgpt_systemd_wanted_services_list: []
|
matrix_bot_chatgpt_systemd_wanted_services_list: []
|
||||||
|
|
||||||
# ChatGPT Settings
|
# ChatGPT Settings
|
||||||
matrix_bot_chatgpt_openai_email: '' # OPENAI_EMAIL=
|
matrix_bot_chatgpt_openai_apikey: '' # OPENAI_API_KEY=
|
||||||
matrix_bot_chatgpt_openai_password: '' # OPENAI_PASSWORD=
|
|
||||||
matrix_bot_chatgpt_openai_login_type: 'google' # OPENAI_LOGIN_TYPE="google"
|
|
||||||
matrix_bot_chatgpt_openai_pro: false # OPENAI_PRO
|
matrix_bot_chatgpt_openai_pro: false # OPENAI_PRO
|
||||||
|
|
||||||
matrix_bot_chatgpt_context: 'thread' # CHATGPT_CONTEXT="thread"
|
matrix_bot_chatgpt_context: 'thread' # CHATGPT_CONTEXT="thread"
|
||||||
|
|||||||
@ -6,7 +6,5 @@
|
|||||||
You need to define a required configuration setting (`{{ item.name }}`).
|
You need to define a required configuration setting (`{{ item.name }}`).
|
||||||
when: "item.when | bool and vars[item.name] == ''"
|
when: "item.when | bool and vars[item.name] == ''"
|
||||||
with_items:
|
with_items:
|
||||||
- {'name': 'matrix_bot_chatgpt_openai_email', when: true}
|
- {'name': 'matrix_bot_chatgpt_openai_apikey', when: true}
|
||||||
- {'name': 'matrix_bot_chatgpt_openai_password', when: true}
|
|
||||||
- {'name': 'matrix_bot_chatgpt_openai_login_type', when: true}
|
|
||||||
- {'name': 'matrix_bot_chatgpt_matrix_bot_username', when: true}
|
- {'name': 'matrix_bot_chatgpt_matrix_bot_username', when: true}
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
MATRIX_HOMESERVER_URL={{ matrix_bot_chatgpt_matrix_homeserver_url }}
|
MATRIX_HOMESERVER_URL={{ matrix_bot_chatgpt_matrix_homeserver_url }}
|
||||||
MATRIX_ACCESS_TOKEN={{ matrix_bot_chatgpt_matrix_access_token }}
|
MATRIX_ACCESS_TOKEN={{ matrix_bot_chatgpt_matrix_access_token }}
|
||||||
|
|
||||||
OPENAI_EMAIL={{ matrix_bot_chatgpt_openai_email }}
|
OPENAI_API_KEY={{ matrix_bot_chatgpt_openai_apikey }}
|
||||||
OPENAI_PASSWORD={{ matrix_bot_chatgpt_openai_password }}
|
|
||||||
OPENAI_LOGIN_TYPE={{ matrix_bot_chatgpt_openai_login_type }}
|
|
||||||
OPENAI_PRO={{ matrix_bot_chatgpt_openai_pro | to_json }}
|
OPENAI_PRO={{ matrix_bot_chatgpt_openai_pro | to_json }}
|
||||||
|
|
||||||
CHATGPT_CONTEXT={{ matrix_bot_chatgpt_context }}
|
CHATGPT_CONTEXT={{ matrix_bot_chatgpt_context }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user