Fix Tauri translation: 8081 -> 8082 (correct llama.cpp port)
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Momentry Portal — AGENTS.md
|
# Momentry Portal — AGENTS.md
|
||||||
|
|
||||||
|
## 其他專案(M4mini)
|
||||||
|
|
||||||
|
- **markbase** — M4mini 上正在開發的重要專案
|
||||||
|
|
||||||
## 開發指令
|
## 開發指令
|
||||||
|
|
||||||
| 用途 | 指令 |
|
| 用途 | 指令 |
|
||||||
@@ -33,7 +37,7 @@
|
|||||||
|
|
||||||
## 跨機器推送與測試(M4mini → M5Max128)
|
## 跨機器推送與測試(M4mini → M5Max128)
|
||||||
|
|
||||||
Gitea 伺服器在 `m5max128.local:3000`。開發在 M4mini 進行,測試在 M5Max128:
|
Gitea 伺服器在 `m5max128.local:3000`(admin / `AccusysTest!`)。開發在 M4mini 進行,測試在 M5Max128:
|
||||||
```bash
|
```bash
|
||||||
# 一鍵推送 + 部署 + 建置
|
# 一鍵推送 + 部署 + 建置
|
||||||
./deploy.sh [commit message]
|
./deploy.sh [commit message]
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ pub async fn translate_text(
|
|||||||
println!("[Translate] Sending to llama.cpp server...");
|
println!("[Translate] Sending to llama.cpp server...");
|
||||||
|
|
||||||
let response = client
|
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")
|
.header("Content-Type", "application/json")
|
||||||
.json(&payload)
|
.json(&payload)
|
||||||
.send()
|
.send()
|
||||||
|
|||||||
Reference in New Issue
Block a user