Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zakiali committed Mar 3, 2025
1 parent f931cf4 commit 460bcd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/goose-bench/src/eval_suites/core/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ impl Evaluation for ExampleEval {
work_dir: &mut WorkDir,
) -> anyhow::Result<Vec<EvaluationMetric>> {
println!("ExampleEval - run");
// let f = work_dir.fs_get(String::from("./arbitrary_dir/arbitrary_file.txt"))?;
// let _contents = fs::read_to_string(f)?;
let f = work_dir.fs_get(String::from("./arbitrary_dir/arbitrary_file.txt"))?;
let _contents = fs::read_to_string(f)?;
let metrics = Vec::new();
let output = agent.prompt("What can you do?".to_string()).await?;
let _output = agent.prompt("What can you do?".to_string()).await?;
Ok(metrics)
}

Expand Down
2 changes: 1 addition & 1 deletion crates/goose-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ async fn main() -> Result<()> {
builtin,
)
.await;

setup_logging(session.session_file().file_stem().and_then(|s| s.to_str()))?;
let _ = session.interactive(None).await;
return Ok(());
Expand Down

0 comments on commit 460bcd0

Please sign in to comment.