From cd600e4807c97e91a46c02dd5f23d7afcf283dbe Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Sun, 6 Sep 2026 06:00:06 -0700 Subject: [PATCH] fix: add LLM_API_URL and LLM_MODEL to portfolio deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missing env vars caused LLM calls to fail even with valid OAuth tokens. Now pod has: - Auth credentials (Authentik client_id/secret/token_url) ✅ - LLM endpoint (api.riotpiao.com/v1/chat/completions) ✅ - Model (qwen2.5:3b-instruct) ✅ Chat API will now successfully authenticate and call LLM gateway. --- infra/portfolio/base/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infra/portfolio/base/deployment.yaml b/infra/portfolio/base/deployment.yaml index 9d90270..31e8a0a 100644 --- a/infra/portfolio/base/deployment.yaml +++ b/infra/portfolio/base/deployment.yaml @@ -42,6 +42,11 @@ spec: secretKeyRef: name: portfolio-agent-oidc key: TOKEN_URL + # LLM API configuration + - name: LLM_API_URL + value: "https://api.riotpiao.com/v1/chat/completions" + - name: LLM_MODEL + value: "qwen2.5:3b-instruct" ports: - name: http containerPort: 3000