mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-22 06:02: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",
|
"minecraft_version": "1.20.4",
|
||||||
"host": "localhost",
|
"host": "127.0.0.1",
|
||||||
"port": 55916,
|
"port": 55916,
|
||||||
"auth": "offline",
|
"auth": "offline",
|
||||||
"allow_insecure_coding": false
|
"allow_insecure_coding": false
|
||||||
|
|
|
@ -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