MCPcopy Create free account
hub / github.com/compozy/agh / requireSessionExecutor

Method requireSessionExecutor

internal/task/manager.go:3346–3351  ·  view source on GitHub ↗
(action string)

Source from the content-addressed store, hash-verified

3344}
3345
3346func (m *Service) requireSessionExecutor(action string) error {
3347 if m.sessions == nil {
3348 return fmt.Errorf("%w: session executor is required to %s", ErrValidation, action)
3349 }
3350 return nil
3351}
3352
3353func (m *Service) collectTaskTree(ctx context.Context, rootTaskID string) ([]Task, error) {
3354 root, err := m.store.GetTask(ctx, rootTaskID)

Callers 5

AttachRunSessionMethod · 0.95
cancelRunRecordMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected