Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultHost = "127.0.0.1" DefaultPort = 8080 DefaultLocation = "global" DefaultUIMode = "auto" )
Variables ¶
View Source
var ErrUsage = errors.New("usage error")
Functions ¶
func IsLoopbackHost ¶
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Vertex VertexConfig `yaml:"vertex"`
Models []Model `yaml:"models"`
UI UIConfig `yaml:"ui"`
Verbose bool `yaml:"verbose"`
SourcePath string `yaml:"-"`
}
func (*Config) LocalModelID ¶
func (*Config) UpstreamModelID ¶
func (*Config) VertexBaseURL ¶
type ServerConfig ¶
type VertexConfig ¶
Click to show internal directories.
Click to hide internal directories.