Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine

This commit is contained in:
-LAN-
2025-09-09 22:16:59 +08:00
14 changed files with 63 additions and 43 deletions

View File

@ -28,8 +28,8 @@ def create_ssl_context() -> ssl.SSLContext:
class HuaweiCloudVectorConfig(BaseModel):
hosts: str
username: str | None
password: str | None
username: str | None = None
password: str | None = None
@model_validator(mode="before")
@classmethod

View File

@ -24,10 +24,10 @@ logger = logging.getLogger(__name__)
class TencentConfig(BaseModel):
url: str
api_key: Optional[str]
api_key: Optional[str] = None
timeout: float = 30
username: Optional[str]
database: Optional[str]
username: Optional[str] = None
database: Optional[str] = None
index_type: str = "HNSW"
metric_type: str = "IP"
shard: int = 1