run-llama / create-llama

The easiest way to get started with LlamaIndex
MIT License
631 stars 74 forks source link

Listing Ollama models failed. Is 'ollama' running? TypeError: fetch failed #126

Closed crown-king closed 3 weeks ago

crown-king commented 1 month ago

Ollama models throw TypeError in CLI.

(polenv) PS C:\UniCult\full-stack build check> npx create-llama@latest --ask-models √ What is your project named? ... my-app √ Which template would you like to use? » Chat √ Which framework would you like to use? » NextJS √ Would you like to set up observability? » No √ Which model provider would you like to use » Ollama √ Which LLM model would you like to use? » llama3:8b Listing Ollama models failed. Is 'ollama' running? TypeError: fetch failed (polenv) PS C:\UniCult\full-stack build check>

marcusschiesser commented 1 month ago

@crown-king on which URL is 'ollama' running?

marcusschiesser commented 3 weeks ago

Closing this - Please reopen @crown-king if this is still an issue