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
commitda01d65da337cc2f6c99d8236140f8fb45c6bd5e (patch)
tree4887ab977b8a92165e180dd3d3c7323df7e6172b /internal/llmutils
parent7194696eb8c4c5bd50f69df96e9a6b87cec1f049 (diff)
parent791cd282ec143c9bbb44eba3b2271f1573272ba5 (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,