Documentation
¶
Index ¶
- func RegisterInterface(name string, iface Interface)
- func ResolveClient(modelID string, models []config.ModelConfig, providers []config.ProviderConfig, ...) (*provider.Client, string, error)
- func Run(def Definition)
- func RunArgs(args []string, def Definition) error
- type Definition
- type Deps
- type Interface
- type LocalInterface
- type Option
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInterface ¶
func ResolveClient ¶
func ResolveClient(modelID string, models []config.ModelConfig, providers []config.ProviderConfig, verbose bool) (*provider.Client, string, error)
func Run ¶
func Run(def Definition)
func RunArgs ¶
func RunArgs(args []string, def Definition) error
Types ¶
type Definition ¶
type Interface ¶
func LookupInterface ¶
type LocalInterface ¶
type LocalInterface struct{}
func (LocalInterface) Name ¶
func (LocalInterface) Name() string
Click to show internal directories.
Click to hide internal directories.