fix: pass OLLIE_SESSION_ID to BuildAgentEnv for prompt resolution
This commit is contained in:
parent
479ac1b9d4
commit
c1f02cdee1
|
|
@ -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,
|
||||
|
|
|
|||
Reference in New Issue