feat(config): add timeout configuration for metadata extraction

This commit is contained in:
Hein
2026-03-27 16:01:02 +02:00
parent 4f3d027f9e
commit 2bca9791cb
4 changed files with 24 additions and 14 deletions

View File

@@ -84,11 +84,12 @@ type AIEmbeddingConfig struct {
}
type AIMetadataConfig struct {
Model string `yaml:"model"`
FallbackModels []string `yaml:"fallback_models"`
FallbackModel string `yaml:"fallback_model"` // legacy single fallback
Temperature float64 `yaml:"temperature"`
LogConversations bool `yaml:"log_conversations"`
Model string `yaml:"model"`
FallbackModels []string `yaml:"fallback_models"`
FallbackModel string `yaml:"fallback_model"` // legacy single fallback
Temperature float64 `yaml:"temperature"`
LogConversations bool `yaml:"log_conversations"`
Timeout time.Duration `yaml:"timeout"`
}
type LiteLLMConfig struct {