We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c993f83 commit 33fd7e7Copy full SHA for 33fd7e7
1 file changed
crates/core/src/heartbeat/runner.rs
@@ -330,6 +330,16 @@ impl HeartbeatRunner {
330
let heartbeat_prompt = build_heartbeat_prompt(workspace_is_git);
331
let response = agent.chat(&heartbeat_prompt).await?;
332
333
+ // Save final session log
334
+ match agent.save_session().await {
335
+ Ok(path) => {
336
+ info!(name: "Heartbeat", "saved session: {:?}", path.to_str().unwrap_or("<Unknown>"));
337
+ }
338
+ Err(error) => {
339
+ warn!(name: "Heartbeat", "failed to save session: {:?}", error);
340
341
342
+
343
// Determine status based on response
344
if is_heartbeat_ok(&response) {
345
return Ok((response, HeartbeatStatus::Ok));
0 commit comments