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