Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalConfig ¶
type LocalConfig struct {
Enabled bool
Runtime string
ExecutablePath string
ModelPath string
HFRepo string
HFFile string
CacheDir string
Args []string
Timeout time.Duration
}
LocalConfig describes a local, no-server title model. The first supported runtime is llama.cpp-compatible GGUF through llama-cli; Hugging Face is used as a model-file source, not as a remote inference provider.
type LocalGenerator ¶
type LocalGenerator struct {
// contains filtered or unexported fields
}
LocalGenerator generates session titles by running a local model process.
func NewLocalGenerator ¶
func NewLocalGenerator(config LocalConfig) (*LocalGenerator, error)
func (*LocalGenerator) GenerateTitle ¶
Click to show internal directories.
Click to hide internal directories.