update for agent.Session → agent.History rename

This commit is contained in:
Levi Neely 2026-07-29 18:21:39 +02:00
parent 0b9f345930
commit 731810ae28
1 changed files with 2 additions and 2 deletions

View File

@ -923,7 +923,7 @@ func (s *Manager) restoreSession(ps *agent.PersistedSession) error {
disp := newDisp()
rt := agent.BuildRuntime(cfg, disp, cwd, env, sysPrompt, opModel, envBlock)
restoredSession := agent.RestoreSession(ps)
restoredSession := agent.RestoreHistory(ps)
var sessPtr *Session
core := agent.NewAgentCore(agent.AgentCoreConfig{
@ -935,7 +935,7 @@ func (s *Manager) restoreSession(ps *agent.PersistedSession) error {
Uname: uname,
CWD: cwd,
Remote: remoteTarget,
Session: restoredSession,
History: restoredSession,
Runtime: rt,
NewDispatcher: newDisp,
PromptEnvExtra: promptEnv,