Compare commits
4
Commits
main
...
45c5db75ed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45c5db75ed | ||
|
|
6c0a1a16be | ||
|
|
dae1b75d0b | ||
|
|
256ceec855 |
@@ -8,3 +8,5 @@ node_modules/
|
|||||||
.claude
|
.claude
|
||||||
# Prompts/knowledge (not committed)
|
# Prompts/knowledge (not committed)
|
||||||
docs/
|
docs/
|
||||||
|
resume.tex
|
||||||
|
RESUME.txt
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
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 = process.env.NODE_ENV === 'production'
|
||||||
|
? 'http://api-gateway.api.svc.cluster.local:8080/v1/chat/completions'
|
||||||
|
: 'https://api.riotpiao.com/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.
|
||||||
|
|||||||
Reference in New Issue
Block a user