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

Method CreateSessionState

agent/subagent.go:113–115  ·  view source on GitHub ↗
(prompt string)

Source from the content-addressed store, hash-verified

111
112func (s *SubAgent) CreateSessionState(prompt string) *SubAgentSessionState {
113 return s.createSessionState(context.Background(), prompt)
114}
115
116func (s *SubAgent) createSessionState(ctx context.Context, prompt string) *SubAgentSessionState {
117 abortCheck, _ := s.ExtraContext["abort_check"].(func() bool)
118 if abortCheck == nil {

Calls 1

createSessionStateMethod · 0.95