update for agent.Session → agent.History rename
This commit is contained in:
parent
0b9f345930
commit
731810ae28
|
|
@ -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,
|
||||
|
|
|
|||
Reference in New Issue