Documentation
¶
Index ¶
- func StartClient(ctx context.Context, provider string, model string, sessionDir string) (*client, error)
- func StartClientWithAgent(ctx context.Context, provider string, model string, sessionDir string, ...) (*client, error)
- type Provider
- func (p *Provider) AnswerPermission(ctx context.Context, sessionID string, requestID string, ...) error
- func (p *Provider) Cancel(ctx context.Context, sessionID string) error
- func (p *Provider) Capabilities(ctx context.Context) (runtime.Capabilities, error)
- func (p *Provider) Close() error
- func (p *Provider) Events(ctx context.Context, sessionID string) (<-chan events.Event, error)
- func (p *Provider) Prompt(ctx context.Context, sessionID string, prompt string) error
- func (p *Provider) Resume(ctx context.Context, sessionID string) (runtime.Session, error)
- func (p *Provider) Start(ctx context.Context, opts runtime.StartOptions) (runtime.Session, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartClient ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewWithOptions ¶
func NewWithOptions(opts runtime.StartOptions) *Provider
func (*Provider) AnswerPermission ¶
func (*Provider) Capabilities ¶
Click to show internal directories.
Click to hide internal directories.