Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/cli/src/cli/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ pub async fn run(args: ChatArgs, agent_id: &str) -> Result<()> {
);
}
}
print!("{}", follow_up);
print!("\nLocalGPT: {}", follow_up);
stdout.flush()?;
}
Err(e) => {
Expand Down
2 changes: 2 additions & 0 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ fn main() -> Result<()> {
tracing_subscriber::EnvFilter::try_from_default_env()
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new(log_level)),
)
.with_writer(std::io::stderr)
.init();
return crate::cli::gen3d::run(args, &cli.agent);
}
Expand Down Expand Up @@ -66,6 +67,7 @@ async fn async_main(cli: Cli) -> Result<()> {
tracing_subscriber::EnvFilter::try_from_default_env()
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new(log_level)),
)
.with_writer(std::io::stderr)
.init();

match cli.command {
Expand Down
5 changes: 3 additions & 2 deletions crates/gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ fn main() -> Result<()> {
tracing_subscriber::EnvFilter::try_from_default_env()
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new(log_level)),
)
.with_writer(std::io::stderr)
.init();

// Load config early so both Bevy and agent threads can use it
Expand Down Expand Up @@ -144,7 +145,7 @@ async fn run_agent_loop(
if let Some(prompt) = initial_prompt {
println!("\n> {}", prompt);
let response = agent.chat(&prompt).await?;
println!("\n{}\n", response);
println!("\nLocalGPT: {}\n", response);
}

// Interactive loop
Expand Down Expand Up @@ -180,7 +181,7 @@ async fn run_agent_loop(
}

let response = agent.chat(input).await?;
println!("\n{}\n", response);
println!("\nLocalGPT: {}\n", response);
}

Ok(())
Expand Down