changed localhost default to 127...

This commit is contained in:
MaxRobinsonTheGreat 2024-05-05 10:38:01 -05:00
parent a12cc7ab09
commit 2faba65917

View file

@ -1,7 +1,7 @@
export class Local { export class Local {
constructor(model_name, url) { constructor(model_name, url) {
this.model_name = model_name; 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.chat_endpoint = '/api/chat';
this.embedding_endpoint = '/api/embeddings'; this.embedding_endpoint = '/api/embeddings';
} }