fix(config): remove duplicate F-13 settings block (merge artefact)
F-13 settings (leads_dir, synthesis_llm_*, synthesis_top_k, synthesis_min_grounded_ratio, synthesis_gap_min_coverage) appeared twice due to independent commits on F-13 and F-14 branches. Kept the second (more complete) block; removed the first. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -134,59 +134,6 @@ class Settings(BaseSettings):
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
# F-13 Synthesis / Lead-Engine
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
leads_dir: str = Field(
|
|
||||||
default="leads/",
|
|
||||||
description=(
|
|
||||||
"Directory where generated leads are written. "
|
|
||||||
"Grounded leads → leads/grounded/, conjectures → leads/conjectures/. "
|
|
||||||
"Relative paths are resolved from the current working directory."
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
synthesis_llm_model: str = Field(
|
|
||||||
default="qwen2.5:7b",
|
|
||||||
description=(
|
|
||||||
"Ollama model name used for synthesis. "
|
|
||||||
"Must be available at the configured Ollama endpoint."
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
synthesis_llm_url: str | None = Field(
|
|
||||||
default=None,
|
|
||||||
description=(
|
|
||||||
"Ollama base URL for synthesis. "
|
|
||||||
"When None, falls back to OLLAMA_BASE_URL."
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
synthesis_top_k: int = Field(
|
|
||||||
default=20,
|
|
||||||
gt=0,
|
|
||||||
description="Number of top chunks retrieved per topic for synthesis.",
|
|
||||||
)
|
|
||||||
|
|
||||||
synthesis_min_grounded_ratio: float = Field(
|
|
||||||
default=0.5,
|
|
||||||
ge=0.0,
|
|
||||||
le=1.0,
|
|
||||||
description=(
|
|
||||||
"Minimum fraction of claims that must be grounded for a lead to be "
|
|
||||||
"emitted as grounded (not marked ⚠)."
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
synthesis_gap_min_coverage: int = Field(
|
|
||||||
default=2,
|
|
||||||
gt=0,
|
|
||||||
description=(
|
|
||||||
"Minimum number of papers covering a topic before it is NOT flagged as a gap. "
|
|
||||||
"Topics with fewer papers → gap lead generated."
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
# F-09 Rich Parsing
|
# F-09 Rich Parsing
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user