We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a97fdce commit 2f7dfa0Copy full SHA for 2f7dfa0
1 file changed
src-tauri/src/llm_client.rs
@@ -375,16 +375,16 @@ mod tests {
375
}
376
377
#[test]
378
- fn adds_v1_to_lmstudio_host_root() {
379
- let provider = provider_with_base_url("http://100.87.196.91:1234");
+ fn adds_v1_to_provider_host_root() {
+ let provider = provider_with_base_url("http://localhost:1234");
380
381
assert_eq!(
382
provider_endpoint_url(&provider, "/models"),
383
- "http://100.87.196.91:1234/v1/models"
+ "http://localhost:1234/v1/models"
384
);
385
386
provider_endpoint_url(&provider, "/chat/completions"),
387
- "http://100.87.196.91:1234/v1/chat/completions"
+ "http://localhost:1234/v1/chat/completions"
388
389
390
0 commit comments