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

@@ -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()