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, run *types.Run) error
- func (c *RemoteAgent) RunStreaming(ctx context.Context, run *types.Run, bufferSize int) (streaming.ResponseChannel, error)
- func (c *RemoteAgent) RunStreamingWithParams(ctx context.Context, bufferSize int, params ...types.Parameter) (*types.Run, streaming.ResponseChannel, error)
- func (c *RemoteAgent) RunWithParams(ctx context.Context, params ...types.Parameter) (types.Run, error)
- func (c *RemoteAgent) Tools() (tools []tools.Tool, 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) RunStreaming ¶
func (c *RemoteAgent) RunStreaming(ctx context.Context, run *types.Run, bufferSize int) (streaming.ResponseChannel, error)
func (*RemoteAgent) RunStreamingWithParams ¶
func (*RemoteAgent) RunWithParams ¶
Click to show internal directories.
Click to hide internal directories.