fix: use internal api-gateway cluster IP for LLM API
Build & Push Portfolio Image / build-push (push) Successful in 2m47s

This commit is contained in:
Story Crater Bot
2026-09-01 11:09:32 -07:00
parent f0c73f3c70
commit 6d0204a068
+1 -1
View File
@@ -1,6 +1,6 @@
import { NextRequest } from 'next/server' 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 MODEL = 'reasoning'
const SYSTEM_PROMPT = `Poimen. Rock Liang's AI assistant. Answer about technical background, projects, expertise. Specific facts + metrics. const SYSTEM_PROMPT = `Poimen. Rock Liang's AI assistant. Answer about technical background, projects, expertise. Specific facts + metrics.