Skip to content

Commit

Permalink
chore(core): use 127.0.0.1 to access local llama-server (#2281)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored May 29, 2024
1 parent 93e47f2 commit 4d43209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/llama-cpp-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use tabby_common::{
use tabby_inference::{CompletionOptions, CompletionStream, Embedding};

fn api_endpoint(port: u16) -> String {
format!("http://localhost:{port}")
format!("http://127.0.0.1:{port}")
}

struct EmbeddingServer {
Expand Down

0 comments on commit 4d43209

Please sign in to comment.