Adds a reviewer step (gemma4-e4b, fresh context) between gathering and writing: it uses rig's typed Extractor to judge whether the findings' conclusions actually follow from their cited sources, rather than relying on free-text parsing. research() is now a plain bounded loop — "the least agentic design that solves the problem", per rig's own workflow guidance — that reruns the researcher with the reviewer's solid_findings/gaps feedback folded into the next round's task until it approves or MAX_RESEARCH_ROUNDS runs out.
16 lines
424 B
TOML
16 lines
424 B
TOML
[package]
|
|
name = "doubleo7"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.104"
|
|
reqwest = { version = "0.13.4", features = ["query"] }
|
|
rig = { version = "0.41.0", features = ["test-utils"] }
|
|
schemars = "1"
|
|
scraper = "0.25"
|
|
serde = "1.0.229"
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
toml = "1.1.4+spec-1.1.0"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|