Fix Tauri translation: 8081 -> 8082 (correct llama.cpp port)

This commit is contained in:
Warren
2026-05-22 04:05:28 +08:00
parent c8fdf572ce
commit e2e11ad659
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# Momentry Portal — AGENTS.md
## 其他專案M4mini
- **markbase** — M4mini 上正在開發的重要專案
## 開發指令
| 用途 | 指令 |
@@ -33,7 +37,7 @@
## 跨機器推送與測試M4mini → M5Max128
Gitea 伺服器在 `m5max128.local:3000`。開發在 M4mini 進行,測試在 M5Max128
Gitea 伺服器在 `m5max128.local:3000`admin / `AccusysTest!`。開發在 M4mini 進行,測試在 M5Max128
```bash
# 一鍵推送 + 部署 + 建置
./deploy.sh [commit message]

View File

@@ -50,7 +50,7 @@ pub async fn translate_text(
println!("[Translate] Sending to llama.cpp server...");
let response = client
.post("http://127.0.0.1:8081/v1/chat/completions")
.post("http://127.0.0.1:8082/v1/chat/completions")
.header("Content-Type", "application/json")
.json(&payload)
.send()