Rank by the cut: fetch gate overrides in scoring, the cut per agent, stages read the cut, fetch text renamed from enrich, the feed kept to the fetch gate, and migration 32
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
060ccf66e6
commit
617356e60c
35 files changed
+1054
-751
No files matched your search
@@ -131,7 +131,7 @@ def test_a_stage_shows_the_model_that_will_answer(tmp_path: Path) -> None:
|
||||
config.agent.model = "claude-opus-4-1"
|
||||
by_name = {s["name"]: s for s in client.get("/api/stages").json()}
|
||||
assert by_name["extract"]["model"] == by_name["summarise"]["model"] == "claude-opus-4-1"
|
||||
assert by_name["enrich"]["model"] == ""
|
||||
assert by_name["fetch_text"]["model"] == ""
|
||||
|
||||
|
||||
# ------------------------------------------------------------------- config
|
||||
@@ -162,7 +162,7 @@ def test_the_example_config_names_every_key_of_the_sections_it_documents() -> No
|
||||
import yaml
|
||||
|
||||
raw = yaml.safe_load((ROOT / "config.example.yaml").read_text("utf-8"))
|
||||
for name, allowed_missing in (("agent", set()), ("extract", set()), ("enrich", set()),
|
||||
for name, allowed_missing in (("agent", set()), ("extract", set()), ("fetch_text", set()),
|
||||
("embed", set()), ("workers", set()),
|
||||
("summarise", {"on_ingest"})): # accepted, ignored
|
||||
fields = set(type(getattr(Config(), name)).model_fields)
|
||||
|
||||
Reference in new issue
Block a user