Documentation
¶
Overview ¶
Package fantasybridge converts yai protocol messages to/from Fantasy types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a stream.Client backed by charm.land/fantasy.
type Config ¶
type Config struct {
API string
BaseURL string
APIKey string
HTTPClient *http.Client
ThinkingBudget int
}
Config represents provider configuration used by the fantasy bridge.
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
Stream is a stream.Stream implementation backed by fantasy stream events.
func (*Stream) CallTools ¶
func (s *Stream) CallTools() []proto.ToolCallStatus
CallTools implements stream.Stream.
func (*Stream) DrainWarnings ¶
DrainWarnings implements stream.Stream.
Click to show internal directories.
Click to hide internal directories.