Fix Tauri translation: 8081 -> 8082 (correct llama.cpp port)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user