mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-23 14:42:07 +02:00
changed localhost default to 127...
This commit is contained in:
parent
a12cc7ab09
commit
2faba65917
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue