feat: initial commit
This commit is contained in:
12
internal/config/llm.go
Normal file
12
internal/config/llm.go
Normal file
@ -0,0 +1,12 @@
|
||||
package config
|
||||
|
||||
type LLM struct {
|
||||
Provider LLMProvider `envPrefix:"PROVIDER_"`
|
||||
}
|
||||
|
||||
type LLMProvider struct {
|
||||
Name string `env:"NAME" envDefault:"openai"`
|
||||
BaseURL string `env:"BASE_URL" envDefault:"https://api.openai.com/v1/"`
|
||||
Key string `env:"KEY"`
|
||||
Model string `env:"MODEL" envDefault:"gpt-4o-mini"`
|
||||
}
|
Reference in New Issue
Block a user