custom llm

This commit is contained in:
unintendedfraud
2025-12-25 17:58:19 +01:00
parent 8702b87d66
commit d83c326b26
4 changed files with 129 additions and 46 deletions
Vendored
+6
View File
@@ -30,6 +30,9 @@ func GetEnvVariables() Env {
GeminiToken: os.Getenv("GEMINI_API_KEY"),
HalResponsePercent: halResPercent,
LlmEndpoint: os.Getenv("LLM_ENDPOINT"),
LlmToken: os.Getenv("LLM_TOKEN"),
LlmModel: os.Getenv("LLM_MODEL"),
}
}
@@ -41,4 +44,7 @@ type Env struct {
OpenaiHalToken string
GeminiToken string
HalResponsePercent int
LlmEndpoint string
LlmToken string
LlmModel string
}