update for mcp
This commit is contained in:
@@ -94,9 +94,21 @@ class Settings(BaseSettings):
|
||||
perception_max_events_per_source: int = Field(
|
||||
default=100, description="Maximum events fetched per source per crawl run."
|
||||
)
|
||||
perception_diff_similarity_threshold: float = Field(
|
||||
default=0.85,
|
||||
description="Cosine similarity below which a paragraph is flagged as changed.",
|
||||
perception_diff_min_change_ratio: float = Field(
|
||||
default=0.02,
|
||||
description=(
|
||||
"Fraction of characters that must differ before an otherwise "
|
||||
"unremarkable paragraph edit is worth an LLM classification call. "
|
||||
"Numeric and deontic changes bypass this gate entirely."
|
||||
),
|
||||
)
|
||||
perception_crawl_interval_seconds: int = Field(
|
||||
default=21600,
|
||||
description=(
|
||||
"How often Celery Beat runs the scheduled crawl-all-sources task, "
|
||||
"in seconds. Default 21600 = 6 hours. Only takes effect when a "
|
||||
"Beat process is running (./dev.sh start beat)."
|
||||
),
|
||||
)
|
||||
|
||||
# Keep configuration setup explicit so runtime behavior is easy to reason about.
|
||||
@@ -117,7 +129,7 @@ class Settings(BaseSettings):
|
||||
# Keep configuration setup explicit so runtime behavior is easy to reason about.
|
||||
qwen_api_key: str = Field(default="", description="Qwen API密钥")
|
||||
qwen_base_url: str = Field(default="http://6.86.80.4:30080/v1", description="Qwen API地址")
|
||||
qwen_model: str = Field(default="qwen3.5-flash", description="Qwen文本模型")
|
||||
qwen_model: str = Field(default="qwen3.6-flash", description="Qwen文本模型")
|
||||
qwen_vl_model: str = Field(default="qwen3-vl-plus", description="Qwen视觉模型")
|
||||
|
||||
# Keep configuration setup explicit so runtime behavior is easy to reason about.
|
||||
|
||||
Reference in New Issue
Block a user