change chat gpt provider (#12)

This commit is contained in:
Dmitry Afanasyev
2023-09-26 19:15:13 +03:00
committed by GitHub
parent 665bb51c0c
commit d6afab4ee4
145 changed files with 6146 additions and 7652 deletions

View File

@@ -47,6 +47,7 @@ class AppSettings(SentrySettings, BaseSettings):
DOMAIN: str = "https://localhost"
URL_PREFIX: str = ""
GPT_MODEL: str = "gpt-3.5-turbo-stream-AItianhuSpace"
# quantity of workers for uvicorn
WORKERS_COUNT: int = 1
# Enable uvicorn reloading
@@ -74,3 +75,6 @@ class AppSettings(SentrySettings, BaseSettings):
def get_settings() -> AppSettings:
return AppSettings()
settings = get_settings()