symflower

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider() (provider provider.Provider)

NewProvider returns a Symflower provider.

Types

type Provider

type Provider struct{}

Provider holds a Symflower provider.

func (*Provider) Available

func (p *Provider) Available(logger *log.Logger) (err error)

Available checks if the provider is ready to be used. This might include checking for an installation or making sure an API access token is valid.

func (*Provider) ID

func (p *Provider) ID() (id string)

ID returns the unique ID of this provider.

func (*Provider) Models

func (p *Provider) Models() (models []model.Model, err error)

Models returns which models are available to be queried via this provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL