From 2faba65917ce756d45fe27d5d867524bfc00da3e Mon Sep 17 00:00:00 2001 From: MaxRobinsonTheGreat Date: Sun, 5 May 2024 10:38:01 -0500 Subject: [PATCH] changed localhost default to 127... --- src/models/local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/local.js b/src/models/local.js index f56c043..3ed880e 100644 --- a/src/models/local.js +++ b/src/models/local.js @@ -1,7 +1,7 @@ export class Local { constructor(model_name, url) { this.model_name = model_name; - this.url = url || 'http://localhost:11434'; + this.url = url || 'http://127.0.0.1:11434' this.chat_endpoint = '/api/chat'; this.embedding_endpoint = '/api/embeddings'; }