fix: embedding default port 11436 → 11437 (llama-server GGUF)

This commit is contained in:
Accusys
2026-11-17 04:26:33 +08:00
parent 646d2a1361
commit a85e31ff16
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1099,7 +1099,7 @@ pub async fn test_embedding(
let embedder = Embedder::new("embeddinggemma-300m".to_string());
let url = std::env::var("MOMENTRY_EMBED_URL")
.unwrap_or_else(|_| "http://localhost:11436".to_string());
.unwrap_or_else(|_| "http://localhost:11437".to_string());
// Detect server type from URL port
let server_type = if url.contains("11437") {