Skip to content

Commit 2f7dfa0

Browse files
committed
Use neutral LM Studio URL in endpoint tests
1 parent a97fdce commit 2f7dfa0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src-tauri/src/llm_client.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,16 +375,16 @@ mod tests {
375375
}
376376

377377
#[test]
378-
fn adds_v1_to_lmstudio_host_root() {
379-
let provider = provider_with_base_url("http://100.87.196.91:1234");
378+
fn adds_v1_to_provider_host_root() {
379+
let provider = provider_with_base_url("http://localhost:1234");
380380

381381
assert_eq!(
382382
provider_endpoint_url(&provider, "/models"),
383-
"http://100.87.196.91:1234/v1/models"
383+
"http://localhost:1234/v1/models"
384384
);
385385
assert_eq!(
386386
provider_endpoint_url(&provider, "/chat/completions"),
387-
"http://100.87.196.91:1234/v1/chat/completions"
387+
"http://localhost:1234/v1/chat/completions"
388388
);
389389
}
390390

0 commit comments

Comments
 (0)