doubleo7/src/main.rs
Austin Schaefer 9212914282 feat: deep research agentic loop with rig AgentRunner + Gemma models
Pins rig to the newest published crates.io release (0.41.0) instead of
the git main branch, and adapts swear_cleanup's revise.rs to that
release's API (OneOrMany::first() returns T directly, raw_completion
folded into CompletionResponse::raw_response).

The research agent (gemma4:26b) drives rig's AgentRunner tool-calling
loop with two lean #[rig::tool_macro] tools — a DuckDuckGo HTML search
and a page-text fetcher — to gather and cross-check findings. A second
agent (gemma4-e4b) turns those findings into a structured report; the
smaller/faster model suffices there since it's reformatting already-
digested notes rather than doing multi-step research reasoning.
2026-08-14 12:40:09 +02:00

12 lines
208 B
Rust

pub mod swear_cleanup;
pub mod deep_research;
#[tokio::main]
pub async fn main() -> anyhow::Result<()> {
// swear_cleanup::starter::run().await?;
deep_research::starter::start().await?;
Ok(())
}