fix: embedding default port 11436 → 11437 (llama-server GGUF)
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user