mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-16 21:20:39 +03:00
@@ -90,7 +90,7 @@ class AppSettings(SentrySettings, LoggingSettings, BaseSettings):
|
||||
# ==== gpt settings ====
|
||||
GPT_BASE_HOST: str = "http://chathpt_chat_service:8858"
|
||||
|
||||
@model_validator(mode="before") # type: ignore[arg-type]
|
||||
@model_validator(mode="before")
|
||||
def validate_boolean_fields(self) -> Any:
|
||||
values_dict: dict[str, Any] = self # type: ignore[assignment]
|
||||
for value in (
|
||||
|
||||
Reference in New Issue
Block a user