This commit is contained in:
1iaan
2026-04-10 12:00:03 +08:00
parent 94bdba930e
commit 5ce2a5f1a3
150 changed files with 215 additions and 20694 deletions

View File

@@ -74,10 +74,8 @@ services:
context: ../ai-chat-service
image: ai-chat-service:1.0.0
container_name: ai-chat-service
dns:
- 223.5.5.5
- 119.29.29.29
- 8.8.8.8
env_file:
- .env
volumes:
- /home/lian/share/aichat/ai-chat-stack/configs/ai-chat-service.yaml:/app/config.yaml:ro
extra_hosts:
@@ -102,10 +100,8 @@ services:
context: ../ai-chat-backend
image: ai-chat-backend:1.0.0
container_name: ai-chat-backend
dns:
- 223.5.5.5
- 119.29.29.29
- 8.8.8.8
ports:
- "7080:7080"
volumes:
- /home/lian/share/aichat/ai-chat-stack/configs/ai-chat-backend.yaml:/app/config.yaml:ro
depends_on:
@@ -120,5 +116,5 @@ services:
depends_on:
- ai-chat-backend
ports:
- "1025:80"
- "${FRONTEND_PORT:-1025}:80"
restart: unless-stopped

View File

@@ -6,7 +6,7 @@ log:
level: "info"
logPath: "runtime/logs/app.log"
chat:
model: "kimi-k2.5"
model: "kimi-k2-turbo-preview"
max_tokens: 4096
temperature: 1
top_p: 1

View File

@@ -6,9 +6,9 @@ log:
level: "info"
logPath: "runtime/logs/app.log"
chat:
api_key: "sk-8NMdsGbDAMpWdd6hrKHepr1tNVXTy2QppKAqJkoJcHd6TYLs"
api_key: "__SET_FROM_ENV__"
base_url: "https://api.moonshot.cn/v1"
model: "kimi-k2.5"
model: "kimi-k2-turbo-preview" # kimi-k2.5
max_tokens: 4096
temperature: 1
top_p: 0.95
@@ -49,6 +49,6 @@ vector:
embedding:
provider: "openai-compatible"
base_url: "https://open.bigmodel.cn/api/paas/v4"
api_key: "d51b903546814cc9981d3649a4a899a3.NQOtz3ocRtQwimh9"
api_key: "__SET_FROM_ENV__"
model: "embedding-2"
timeout: 10