interfaces.go 285 B

12345678910111213
  1. package app
  2. import (
  3. "context"
  4. )
  5. // AgentService defines the interface for agent operations
  6. type AgentService interface {
  7. Cancel(sessionID string) error
  8. IsBusy() bool
  9. IsSessionBusy(sessionID string) bool
  10. CompactSession(ctx context.Context, sessionID string, force bool) error
  11. }