agent: create /tmp/ollie/{session-id} on session start

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-14 19:27:35 +02:00
parent 72f7a95329
commit c03f9386c1
1 changed files with 4 additions and 0 deletions

View File

@ -280,6 +280,10 @@ func NewAgentCore(cfg AgentCoreConfig) Core {
Exec: cfg.Env.exec,
GenerationParams: cfg.Env.genParams,
}
if cfg.SessionID != "" {
os.MkdirAll("/tmp/ollie/"+cfg.SessionID, 0700) //nolint:errcheck
}
return &agentCore{
session: cfg.Session,
loopcfg: loopcfg,