feat: initial commit
This commit is contained in:
10
internal/config/llm.go
Normal file
10
internal/config/llm.go
Normal file
@ -0,0 +1,10 @@
|
||||
package config
|
||||
|
||||
import "github.com/bornholm/genai/llm/provider"
|
||||
|
||||
type LLM struct {
|
||||
Provider provider.Name `env:"PROVIDER" envDefault:"mistral"`
|
||||
BaseURL string `env:"BASE_URL" envDefault:"https://api.mistral.ai/v1/"`
|
||||
APIKey string `env:"API_KEY"`
|
||||
Model string `env:"MODEL" envDefault:"mistral-small-latest"`
|
||||
}
|
Reference in New Issue
Block a user