mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2026-02-03 11:40:39 +03:00
add more tests (#19)
This commit is contained in:
@@ -12,6 +12,8 @@ TELEGRAM_API_TOKEN="123456789:AABBCCDDEEFFaabbccddeeff-1234567890"
|
||||
DOMAIN="http://localhost"
|
||||
URL_PREFIX=
|
||||
|
||||
GPT_BASE_HOST="http://localhost"
|
||||
|
||||
# set to true to start with webhook. Else bot will start on polling method
|
||||
START_WITH_WEBHOOK="false"
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ TELEGRAM_API_TOKEN="123456789:AABBCCDDEEFFaabbccddeeff-1234567890"
|
||||
DOMAIN="http://localhost"
|
||||
URL_PREFIX=
|
||||
|
||||
GPT_BASE_HOST="http://localhost"
|
||||
|
||||
# set to true to start with webhook. Else bot will start on polling method
|
||||
START_WITH_WEBHOOK="false"
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ class AppSettings(SentrySettings, BaseSettings):
|
||||
URL_PREFIX: str = ""
|
||||
|
||||
GPT_MODEL: str = "gpt-3.5-turbo-stream-AItianhuSpace"
|
||||
GPT_BASE_HOST: str = "http://chat_service:8858"
|
||||
# quantity of workers for uvicorn
|
||||
WORKERS_COUNT: int = 1
|
||||
# Enable uvicorn reloading
|
||||
|
||||
Reference in New Issue
Block a user