Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DefaultModel string
DefaultProvider string
DefaultAudioModel string
DefaultAudioProvider string
ContextLength int
NoDeleteModels bool
SkipBackendCycle bool
Tracing bool
TenantID string
Bus libbus.Messenger
KVStore libkvstore.KVManager
State *runtimestate.State
Tracker libtracker.ActivityTracker
}
Config configures model discovery, routing and their backing resources.
type Runtime ¶
type Runtime struct {
Models llmrepo.ModelRepo
AudioModel llmrepo.ModelConfig
State *runtimestate.State
Bus libbus.Messenger
KVStore libkvstore.KVManager
Tracker libtracker.ActivityTracker
Stop func()
}
Runtime owns model-serving resources without constructing an agent or tools. Stop releases only resources created by Build, not injected resources.
Click to show internal directories.
Click to hide internal directories.