blob: 4cc9b8022310b08039d686e044d44395446a8df6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
}
|