Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: clean-up unnecessary annotation on configs with non-null default value (#9323)
Bowen Liang5eb00502ec4c
diff --git a/api/configs/middleware/vdb/oracle_config.py b/api/configs/middleware/vdb/oracle_config.pyindex 44e2f133458..5d2cf67ba37 100644--- a/api/configs/middleware/vdb/oracle_config.py+++ b/api/configs/middleware/vdb/oracle_config.py@@ -14,7 +14,7 @@ class OracleConfig(BaseSettings):default=None,)- ORACLE_PORT: Optional[PositiveInt] = Field(+ ORACLE_PORT: PositiveInt = Field(description="Port number on which the Oracle database server is listening (default is 1521)",default=1521,)diff --git a/api/configs/middleware/vdb/pgvector_config.py b/api/configs/middleware/vdb/pgvector_config.pyindex 85f5dca7e23..4561a9a7ca9 100644--- a/api/configs/middleware/vdb/pgvector_config.py+++ b/api/configs/middleware/vdb/pgvector_config.py@@ -14,7 +14,7 @@ class PGVectorConfig(BaseSettings):default=None,)- PGVECTOR_PORT: Optional[PositiveInt] = Field(+ PGVECTOR_PORT: PositiveInt = Field(description="Port number on which the PostgreSQL server is listening (default is 5433)",default=5433,)diff --git a/api/configs/middleware/vdb/pgvectors_config.py b/api/configs/middleware/vdb/pgvectors_config.pyindex 8d7a4b8d255..fa3bca5bb75 100644--- a/api/configs/middleware/vdb/pgvectors_config.py+++ b/api/configs/middleware/vdb/pgvectors_config.py@@ -14,7 +14,7 @@ class PGVectoRSConfig(BaseSettings):default=None,)- PGVECTO_RS_PORT: Optional[PositiveInt] = Field(+ PGVECTO_RS_PORT: PositiveInt = Field(description="Port number on which the PostgreSQL server with PGVecto.RS is listening (default is 5431)",default=5431,)diff --git a/api/configs/middleware/vdb/vikingdb_config.py b/api/configs/middleware/vdb/vikingdb_config.pyindex 5ad98d898a1..3e718481dc7 100644--- a/api/configs/middleware/vdb/vikingdb_config.py+++ b/api/configs/middleware/vdb/vikingdb_config.py@@ -11,27 +11,39 @@ class VikingDBConfig(BaseModel):"""VIKINGDB_ACCESS_KEY: Optional[str] = Field(- default=None, description="The Access Key provided by Volcengine VikingDB for API authentication."+ description="The Access Key provided by Volcengine VikingDB for API authentication."+ "Refer to the following documentation for details on obtaining credentials:"+ "https://www.volcengine.com/docs/6291/65568",+ default=None,)+VIKINGDB_SECRET_KEY: Optional[str] = Field(- default=None, description="The Secret Key provided by Volcengine VikingDB for API authentication."+ description="The Secret Key provided by Volcengine VikingDB for API authentication.",+ default=None,)- VIKINGDB_REGION: Optional[str] = Field(- default="cn-shanghai",++ VIKINGDB_REGION: str = Field(description="The region of the Volcengine VikingDB service.(e.g., 'cn-shanghai', 'cn-beijing').",+ default="cn-shanghai",)- VIKINGDB_HOST: Optional[str] = Field(- default="api-vikingdb.mlp.cn-shanghai.volces.com",++ VIKINGDB_HOST: str = Field(description="The host of the Volcengine VikingDB service.(e.g., 'api-vikingdb.volces.com', \'api-vikingdb.mlp.cn-shanghai.volces.com')",+ default="api-vikingdb.mlp.cn-shanghai.volces.com",)- VIKINGDB_SCHEME: Optional[str] = Field(- default="http",++ VIKINGDB_SCHEME: str = Field(description="The scheme of the Volcengine VikingDB service.(e.g., 'http', 'https').",+ default="http",)- VIKINGDB_CONNECTION_TIMEOUT: Optional[int] = Field(- default=30, description="The connection timeout of the Volcengine VikingDB service."++ VIKINGDB_CONNECTION_TIMEOUT: int = Field(+ description="The connection timeout of the Volcengine VikingDB service.",+ default=30,)- VIKINGDB_SOCKET_TIMEOUT: Optional[int] = Field(- default=30, description="The socket timeout of the Volcengine VikingDB service."++ VIKINGDB_SOCKET_TIMEOUT: int = Field(+ description="The socket timeout of the Volcengine VikingDB service.",+ default=30,)