From 50e6bb821035f96438e79ee180d51ad7637031d5 Mon Sep 17 00:00:00 2001 From: Tarik Moussa Date: Sun, 14 Jun 2026 08:59:05 +0200 Subject: [PATCH] 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 --- codex/config.py | 53 ------------------------------------------------- 1 file changed, 53 deletions(-) diff --git a/codex/config.py b/codex/config.py index 46e2fb7..ede21c8 100644 --- a/codex/config.py +++ b/codex/config.py @@ -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 # ------------------------------------------------------------------