20 lines
812 B
Rust
20 lines
812 B
Rust
|
|
use clap::Parser;
|
||
|
|
|
||
|
|
pub(crate) const DEFAULT_TOPIC: &str =
|
||
|
|
"What are the latest advances in running large language models locally, on consumer hardware?";
|
||
|
|
|
||
|
|
/// Deep research agentic loop over local Gemma models: a tool-calling agent
|
||
|
|
/// gathers and cross-checks web evidence, a reviewer agent gates it, and a
|
||
|
|
/// writer agent turns approved findings into a structured report.
|
||
|
|
#[derive(Parser)]
|
||
|
|
#[command(name = "doubleo7-research", version, about)]
|
||
|
|
pub(crate) struct Cli {
|
||
|
|
/// Research topic to investigate
|
||
|
|
pub(crate) topic: Option<String>,
|
||
|
|
|
||
|
|
/// Emit logs at this level (off by default; passing this also enables a
|
||
|
|
/// progress spinner to switch off, since the logs already show progress)
|
||
|
|
#[arg(short = 'l', long, value_name = "LEVEL")]
|
||
|
|
pub(crate) log_level: Option<tracing::Level>,
|
||
|
|
}
|