MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / stripSkillMessages

Method stripSkillMessages

agent/loop.go:1344–1349  ·  view source on GitHub ↗
(state *AgentState, sources map[string]struct{})

Source from the content-addressed store, hash-verified

1342 cfg := e.Config
1343 cfg.SessionMemoryAgentID = e.sessionMemoryAgentID()
1344 if err := e.sessionMemory.Observe(ctx, cfg, e.SessionID, state.Messages, force); err != nil {
1345 slog.Warn("session memory observe failed", "session_id", e.SessionID, "error", err)
1346 }
1347 if e.StateObserver != nil {
1348 e.StateObserver(state)
1349 }
1350}
1351
1352func (e *CoreExecutionEngine) sessionMemoryAgentID() string {

Callers 1

queryLoopMethod · 0.95

Calls 1

Tested by

no test coverage detected