diff --git a/api/configs/feature/__init__.py b/api/configs/feature/__init__.py index f9c1bd422..d8ab74956 100644 --- a/api/configs/feature/__init__.py +++ b/api/configs/feature/__init__.py @@ -331,7 +331,7 @@ class MailConfig(BaseModel): SMTP_PORT: Optional[int] = Field( description='smtp server port', - default=None, + default=465, ) SMTP_USERNAME: Optional[str] = Field( diff --git a/api/configs/middleware/vdb/oracle_config.py b/api/configs/middleware/vdb/oracle_config.py index e5c479a66..941d63cb7 100644 --- a/api/configs/middleware/vdb/oracle_config.py +++ b/api/configs/middleware/vdb/oracle_config.py @@ -15,7 +15,7 @@ class OracleConfig(BaseModel): ORACLE_PORT: Optional[PositiveInt] = Field( description='ORACLE port', - default=None, + default=1521, ) ORACLE_USER: Optional[str] = Field( diff --git a/api/configs/middleware/vdb/pgvector_config.py b/api/configs/middleware/vdb/pgvector_config.py index c544a8403..ff288c624 100644 --- a/api/configs/middleware/vdb/pgvector_config.py +++ b/api/configs/middleware/vdb/pgvector_config.py @@ -15,7 +15,7 @@ class PGVectorConfig(BaseModel): PGVECTOR_PORT: Optional[PositiveInt] = Field( description='PGVector port', - default=None, + default=5433, ) PGVECTOR_USER: Optional[str] = Field( diff --git a/api/configs/middleware/vdb/pgvectors_config.py b/api/configs/middleware/vdb/pgvectors_config.py index 78cb4e570..a7a1ea5b4 100644 --- a/api/configs/middleware/vdb/pgvectors_config.py +++ b/api/configs/middleware/vdb/pgvectors_config.py @@ -15,7 +15,7 @@ class PGVectoRSConfig(BaseModel): PGVECTO_RS_PORT: Optional[PositiveInt] = Field( description='PGVectoRS port', - default=None, + default=5431, ) PGVECTO_RS_USER: Optional[str] = Field( diff --git a/api/configs/middleware/vdb/tidb_vector_config.py b/api/configs/middleware/vdb/tidb_vector_config.py index 53f985e38..1360dfd7f 100644 --- a/api/configs/middleware/vdb/tidb_vector_config.py +++ b/api/configs/middleware/vdb/tidb_vector_config.py @@ -15,7 +15,7 @@ class TiDBVectorConfig(BaseModel): TIDB_VECTOR_PORT: Optional[PositiveInt] = Field( description='TiDB Vector port', - default=None, + default=4000, ) TIDB_VECTOR_USER: Optional[str] = Field(