mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-21 21:52:07 +02:00
Merge pull request #73 from kolbytn/localhost-addy
Localhost -> 127.0.0.1
This commit is contained in:
commit
1c75f4f688
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"minecraft_version": "1.20.4",
|
||||
"host": "localhost",
|
||||
"host": "127.0.0.1",
|
||||
"port": 55916,
|
||||
"auth": "offline",
|
||||
"allow_insecure_coding": false
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue