ivanfioravanti / chatbot-ollama

Chatbot Ollama is an open source chat UI for Ollama.
Other
1.33k stars 217 forks source link

can't choose custom model when new conversation #51

Open moseshu opened 3 months ago

moseshu commented 3 months ago

I change the .env.local file .env.local

DEFAULT_MODEL="Mistral-7B:latest"
NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT="You are a helpful, respectful and honest assistant.Help humman as much as you can."

and run the script

OLLAMA_HOST="http://0.0.0.0:11434" DEFAULT_MODEL='Mistral-7B:latest'  HOST=0.0.0.0 PORT=80 npm run dev

when creating new conversation.there is no option to choose custom model,it gave me error [OllamaError: model 'mistral:latest' not found, try pulling it first] { name: 'OllamaError' }

how to solve it?

image