fix: pass OLLIE_SESSION_ID to BuildAgentEnv for prompt resolution

This commit is contained in:
Levi Neely 2026-05-18 12:31:43 +02:00
parent 479ac1b9d4
commit c1f02cdee1
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ func (s *SessionStore) createSession(args []string) error {
"execute": execute.Decl(cwd, execOpts...),
})
env := agent.BuildAgentEnv(cfg, newDisp(), cwd)
env := agent.BuildAgentEnv(cfg, newDisp(), cwd, []string{"OLLIE_SESSION_ID=" + sessID})
core = agent.NewAgentCore(agent.AgentCoreConfig{
Backend: be,