feat(mcp): F-14 MCP-server — read-only KB tools for LLM clients #4

Merged
user2595 merged 3 commits from feat/F-14-mcp-server into main 2026-06-14 11:52:08 +00:00
Showing only changes of commit 50e6bb8210 - Show all commits

View File

@@ -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
# ------------------------------------------------------------------