From 6d0204a06891d0b02a693a185bad84092fc384c6 Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Tue, 1 Sep 2026 11:09:32 -0700 Subject: [PATCH] fix: use internal api-gateway cluster IP for LLM API --- app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 997c941..2d6800d 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -1,6 +1,6 @@ import { NextRequest } from 'next/server' -const LLM_API_URL = 'https://api.riotpiao.com/v1/chat/completions' +const LLM_API_URL = 'http://api-gateway.api.svc.cluster.local:8080/v1/chat/completions' const MODEL = 'reasoning' const SYSTEM_PROMPT = `Poimen. Rock Liang's AI assistant. Answer about technical background, projects, expertise. Specific facts + metrics.