mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-03 03:38:08 +08:00
fix: type error in config (#5643)
This commit is contained in:
parent
8d9a459083
commit
0dfdb61ee9
@ -331,7 +331,7 @@ class MailConfig(BaseModel):
|
|||||||
|
|
||||||
SMTP_PORT: Optional[int] = Field(
|
SMTP_PORT: Optional[int] = Field(
|
||||||
description='smtp server port',
|
description='smtp server port',
|
||||||
default=None,
|
default=465,
|
||||||
)
|
)
|
||||||
|
|
||||||
SMTP_USERNAME: Optional[str] = Field(
|
SMTP_USERNAME: Optional[str] = Field(
|
||||||
|
@ -15,7 +15,7 @@ class OracleConfig(BaseModel):
|
|||||||
|
|
||||||
ORACLE_PORT: Optional[PositiveInt] = Field(
|
ORACLE_PORT: Optional[PositiveInt] = Field(
|
||||||
description='ORACLE port',
|
description='ORACLE port',
|
||||||
default=None,
|
default=1521,
|
||||||
)
|
)
|
||||||
|
|
||||||
ORACLE_USER: Optional[str] = Field(
|
ORACLE_USER: Optional[str] = Field(
|
||||||
|
@ -15,7 +15,7 @@ class PGVectorConfig(BaseModel):
|
|||||||
|
|
||||||
PGVECTOR_PORT: Optional[PositiveInt] = Field(
|
PGVECTOR_PORT: Optional[PositiveInt] = Field(
|
||||||
description='PGVector port',
|
description='PGVector port',
|
||||||
default=None,
|
default=5433,
|
||||||
)
|
)
|
||||||
|
|
||||||
PGVECTOR_USER: Optional[str] = Field(
|
PGVECTOR_USER: Optional[str] = Field(
|
||||||
|
@ -15,7 +15,7 @@ class PGVectoRSConfig(BaseModel):
|
|||||||
|
|
||||||
PGVECTO_RS_PORT: Optional[PositiveInt] = Field(
|
PGVECTO_RS_PORT: Optional[PositiveInt] = Field(
|
||||||
description='PGVectoRS port',
|
description='PGVectoRS port',
|
||||||
default=None,
|
default=5431,
|
||||||
)
|
)
|
||||||
|
|
||||||
PGVECTO_RS_USER: Optional[str] = Field(
|
PGVECTO_RS_USER: Optional[str] = Field(
|
||||||
|
@ -15,7 +15,7 @@ class TiDBVectorConfig(BaseModel):
|
|||||||
|
|
||||||
TIDB_VECTOR_PORT: Optional[PositiveInt] = Field(
|
TIDB_VECTOR_PORT: Optional[PositiveInt] = Field(
|
||||||
description='TiDB Vector port',
|
description='TiDB Vector port',
|
||||||
default=None,
|
default=4000,
|
||||||
)
|
)
|
||||||
|
|
||||||
TIDB_VECTOR_USER: Optional[str] = Field(
|
TIDB_VECTOR_USER: Optional[str] = Field(
|
||||||
|
Loading…
Reference in New Issue
Block a user