agent: create /tmp/ollie/{session-id} on session start
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
72f7a95329
commit
c03f9386c1
|
|
@ -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,
|
||||
|
|
|
|||
Reference in New Issue