Documentation
¶
Index ¶
- type ErrChunkMessage
- type ErrServerResponse
- type ErrUnknownEvent
- type RemoteAgent
- func (c *RemoteAgent) Description() (string, error)
- func (c *RemoteAgent) Name() (string, error)
- func (c *RemoteAgent) Run(ctx context.Context, runResponse *chat.RunResponse) error
- func (c *RemoteAgent) RunStreaming(ctx context.Context, runResponse *chat.RunResponse, bufferSize int) (provider.ResponseChannel, error)
- func (c *RemoteAgent) RunStreamingWithParams(ctx context.Context, bufferSize int, params ...chat.Parameter) (*chat.RunResponse, provider.ResponseChannel, error)
- func (c *RemoteAgent) RunWithParams(ctx context.Context, params ...chat.Parameter) (chat.RunResponse, error)
- func (c *RemoteAgent) Skills() (skills []tools.SkillCard, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrChunkMessage ¶
type ErrChunkMessage struct {
Message string
}
func (ErrChunkMessage) Error ¶
func (e ErrChunkMessage) Error() string
type ErrServerResponse ¶
func (ErrServerResponse) Error ¶
func (e ErrServerResponse) Error() string
type ErrUnknownEvent ¶
type ErrUnknownEvent struct {
Event string
}
func (ErrUnknownEvent) Error ¶
func (e ErrUnknownEvent) Error() string
type RemoteAgent ¶
func Default ¶
func Default(baseUrl string) *RemoteAgent
func (*RemoteAgent) Description ¶
func (c *RemoteAgent) Description() (string, error)
func (*RemoteAgent) Name ¶
func (c *RemoteAgent) Name() (string, error)
func (*RemoteAgent) Run ¶
func (c *RemoteAgent) Run(ctx context.Context, runResponse *chat.RunResponse) error
func (*RemoteAgent) RunStreaming ¶
func (c *RemoteAgent) RunStreaming(ctx context.Context, runResponse *chat.RunResponse, bufferSize int) (provider.ResponseChannel, error)
func (*RemoteAgent) RunStreamingWithParams ¶
func (c *RemoteAgent) RunStreamingWithParams(ctx context.Context, bufferSize int, params ...chat.Parameter) (*chat.RunResponse, provider.ResponseChannel, error)
func (*RemoteAgent) RunWithParams ¶
func (c *RemoteAgent) RunWithParams(ctx context.Context, params ...chat.Parameter) (chat.RunResponse, error)
Click to show internal directories.
Click to hide internal directories.