| 1234567891011121314 |
- package app
- import (
- "context"
- )
- // AgentService defines the interface for agent operations
- type AgentService interface {
- Run(ctx context.Context, sessionID string, text string, attachments ...Attachment) (string, error)
- Cancel(sessionID string) error
- IsBusy() bool
- IsSessionBusy(sessionID string) bool
- CompactSession(ctx context.Context, sessionID string, force bool) error
- }
|