@@ -25,7 +25,8 @@ type Config struct {
|
||||
|
||||
// ProviderConfig holds API key for a provider
|
||||
type ProviderConfig struct {
|
||||
APIKey string `toml:"api_key"`
|
||||
APIKey string `toml:"api_key"`
|
||||
BaseURL string `toml:"base_url"` // OpenAI-compatible base URL, without /v1
|
||||
}
|
||||
|
||||
// LLMConfig configures the LLM post-processing phase
|
||||
@@ -70,10 +71,11 @@ type TranscriptionConfig struct {
|
||||
}
|
||||
|
||||
type InjectionConfig struct {
|
||||
Backends []string `toml:"backends"`
|
||||
YdotoolTimeout time.Duration `toml:"ydotool_timeout"`
|
||||
WtypeTimeout time.Duration `toml:"wtype_timeout"`
|
||||
ClipboardTimeout time.Duration `toml:"clipboard_timeout"`
|
||||
Backends []string `toml:"backends"`
|
||||
YdotoolTimeout time.Duration `toml:"ydotool_timeout"`
|
||||
WtypeTimeout time.Duration `toml:"wtype_timeout"`
|
||||
ClipboardTimeout time.Duration `toml:"clipboard_timeout"`
|
||||
CtrlShiftVClasses []string `toml:"ctrl_shift_v_classes"`
|
||||
}
|
||||
|
||||
type NotificationsConfig struct {
|
||||
@@ -139,4 +141,5 @@ type LLMAdapterConfig struct {
|
||||
RemoveFillerWords bool
|
||||
CustomPrompt string
|
||||
Keywords []string
|
||||
BaseURL string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user