mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-16 10:15:12 +00:00
fix(providers): retry transient Codex response failures (#1332)
* fix(providers): retry transient Codex response failures * test(cron): tolerate nil session store in handler tests
This commit is contained in:
1 parent
fabe86b3de
commit
360fe30a8e
5 files changed
+148
-12
No files matched your search
+1
-1
@@ -95,7 +95,7 @@ func makeCronJobHandler(sched *scheduler.Scheduler, msgBus *bus.MessageBus, cfg
|
||||
// multi-run dialog.
|
||||
// Save() persists the empty session to DB so stale data won't reload
|
||||
// after restart (#294).
|
||||
if job.Stateless {
|
||||
if job.Stateless && sessionMgr != nil {
|
||||
sessionMgr.Reset(cronCtx, sessionKey)
|
||||
sessionMgr.Save(cronCtx, sessionKey)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user