mirror of
https://github.com/aljazceru/goose.git
synced 2026-02-14 02:54:30 +01:00
Merge pull request #11 from aljazceru/codex/fix-missing-schedule_id-in-sessionconfig
Fix SessionConfig initialization
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user