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. |
||
|---|---|---|
| .. | ||
| mod.rs | ||
| starter.rs | ||
| tools.rs | ||