summaryrefslogtreecommitdiff
path: root/internal/llmutils
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2026-02-02 20:55:36 +0200
committerGitHub <noreply@github.com>2026-02-02 20:55:36 +0200
commitc8dd76141098a66767883c6eb21dd47ebcf10269 (patch)
tree4887ab977b8a92165e180dd3d3c7323df7e6172b /internal/llmutils
parent28e2d1a7729e4d434e47006a1932eeb75821aadc (diff)
parent97c48711ce0c42bcf39aab1f88b54985a9744b8e (diff)
Merge pull request #2 from florianbuetow/feature-timeout-config
feat: add configurable request timeout for LLM calls
Diffstat (limited to 'internal/llmutils')
-rw-r--r--internal/llmutils/client.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/llmutils/client.go b/internal/llmutils/client.go
index 53fca9c..de65935 100644
--- a/internal/llmutils/client.go
+++ b/internal/llmutils/client.go
@@ -12,6 +12,7 @@ import (
func NewClientFromApp(cfg appconfig.App) (llm.Client, error) {
llmCfg := llm.Config{
Provider: cfg.Provider,
+ RequestTimeout: cfg.RequestTimeout,
OpenAIBaseURL: cfg.OpenAIBaseURL,
OpenAIModel: cfg.OpenAIModel,
OpenAITemperature: cfg.OpenAITemperature,