From ac60a79ad1b6fe146d52512402c2a6cac20a98b5 Mon Sep 17 00:00:00 2001 From: Aljaz Date: Thu, 29 May 2025 10:42:01 +0200 Subject: [PATCH] fix SessionConfig initialization --- crates/goose-api/src/handlers.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/goose-api/src/handlers.rs b/crates/goose-api/src/handlers.rs index 6e8ba957..653ca746 100644 --- a/crates/goose-api/src/handlers.rs +++ b/crates/goose-api/src/handlers.rs @@ -119,6 +119,7 @@ pub async fn start_session_handler( Some(SessionConfig { id: Identifier::Name(session_name.clone()), working_dir: std::env::current_dir().unwrap_or_else(|_| PathBuf::from(".")), + schedule_id: None, }), ) .await; @@ -206,6 +207,7 @@ pub async fn reply_session_handler( Some(SessionConfig { id: Identifier::Name(session_name.clone()), working_dir: std::env::current_dir().unwrap_or_else(|_| PathBuf::from(".")), + schedule_id: None, }), ) .await;