nomic-ai / gpt4all

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
https://nomic.ai/gpt4all
MIT License
70.7k stars 7.71k forks source link

The API server is not working #2454

Open ezequielal39 opened 5 months ago

ezequielal39 commented 5 months ago

Bug Report

The API server is not working

Steps to Reproduce

I select enable API server, port 4891. Then I type in the browser localhost 127.0.0.1:4891. I get the message "This site can’t be reached." If I type http://localhost:4891/v1/models I get

"data": [ { "created": 0, "id": "Mistral OpenOrca", "object": "model", "owned_by": "humanity", "parent": null, "permissions": [ { "allow_create_engine": false, "allow_fine_tuning": false, "allow_logprobs": false, "allow_sampling": false, "allow_search_indices": false, "allow_view": true, "created": 0, "group": null, "id": "foobarbaz", "is_blocking": false, "object": "model_permission", "organization": "" } ], "root": "Mistral OpenOrca" }, { "created": 0, "id": "SBert", "object": "model", "owned_by": "humanity", "parent": null, "permissions": [ { "allow_create_engine": false, "allow_fine_tuning": false, "allow_logprobs": false, "allow_sampling": false, "allow_search_indices": false, "allow_view": true, "created": 0, "group": null, "id": "foobarbaz", "is_blocking": false, "object": "model_permission", "organization": "" } ], "root": "SBert" } ], "object": "list" }

  1. I select enable API server, port 4891
  2. I type in the browser http://localhost:4891/
  3. I get the message "This site can’t be reached"

Expected Behavior

Your Environment

thank you

ThiloteE commented 3 days ago

What do you expect to see, if you open this URL in the browser?