Skip to content

Commit c4ffbe1

Browse files
DOsingaDouwe Osinga
authored andcommitted
Change the other location too (#5608)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
1 parent b660a5a commit c4ffbe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/goose/src/providers/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ impl RequestLog {
553553
fn finish(&mut self) -> Result<()> {
554554
if let Some(mut writer) = self.writer.take() {
555555
writer.flush()?;
556-
let logs_dir = crate::logging::prepare_log_directory("llm", true)?;
556+
let logs_dir = Paths::in_state_dir("logs");
557557
let log_path = |i| logs_dir.join(format!("llm_request.{}.jsonl", i));
558558

559559
for i in (0..LOGS_TO_KEEP - 1).rev() {

0 commit comments

Comments
 (0)