feat: add verbose logging and complete observability (#251)
This commit is contained in:
parent
6d56a040ce
commit
50f508766f
8 changed files with 316 additions and 5 deletions
|
|
@ -132,6 +132,10 @@ enum Commands {
|
|||
/// Temperature (0.0 - 2.0)
|
||||
#[arg(short, long, default_value = "0.7")]
|
||||
temperature: f64,
|
||||
|
||||
/// Print user-facing progress lines via observer (`>` send, `<` receive/complete).
|
||||
#[arg(long)]
|
||||
verbose: bool,
|
||||
},
|
||||
|
||||
/// Start the gateway server (webhooks, websockets)
|
||||
|
|
@ -339,7 +343,8 @@ async fn main() -> Result<()> {
|
|||
provider,
|
||||
model,
|
||||
temperature,
|
||||
} => agent::run(config, message, provider, model, temperature).await,
|
||||
verbose,
|
||||
} => agent::run(config, message, provider, model, temperature, verbose).await,
|
||||
|
||||
Commands::Gateway { port, host } => {
|
||||
if port == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue