Merge pull request #73 from kolbytn/localhost-addy

Localhost -> 127.0.0.1
This commit is contained in:
Max Robinson 2024-05-07 11:26:27 -05:00 committed by GitHub
commit 1c75f4f688
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"minecraft_version": "1.20.4",
"host": "localhost",
"host": "127.0.0.1",
"port": 55916,
"auth": "offline",
"allow_insecure_coding": false

View file

@ -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';
}