Originally created by @kasimchooch on GitHub (May 5, 2024).
Bug Report
Description
Bug Summary:
LLaVA Custom Modelfile doesn't produce related answers with the image I uploaded. Without creating a custom modelfile it works without any problem, but as soon as I type system prompt it starts giving random answers.
Steps to Reproduce:
1- Create a modelfile selecting LLaVA:7b
2- As the system prompt try something identical, mine was 'start your response with AHOY"
3- Open modelfile and type something without uploading an image. It will start the response with AHOY
4- Upload an image and say 'analyze', the response will be totally random and irrelevant to the image.
Expected Behavior:
LLaVA should use the system prompt when analyzing the images. In this case it should start image description with 'AHOY'
Actual Behavior:
Image description is totally random
[ X] I have read and followed all the instructions provided in the README.md.
[ X] I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
Screenshots
Installation Method
I installed the Open WebUI using Pinokio by CocktailPeanut.
Originally created by @kasimchooch on GitHub (May 5, 2024).
# Bug Report
## Description
**Bug Summary:**
LLaVA Custom Modelfile doesn't produce related answers with the image I uploaded. Without creating a custom modelfile it works without any problem, but as soon as I type system prompt it starts giving random answers.
**Steps to Reproduce:**
1- Create a modelfile selecting LLaVA:7b
2- As the system prompt try something identical, mine was 'start your response with AHOY"
3- Open modelfile and type something without uploading an image. It will start the response with AHOY
4- Upload an image and say 'analyze', the response will be totally random and irrelevant to the image.
**Expected Behavior:**
LLaVA should use the system prompt when analyzing the images. In this case it should start image description with 'AHOY'
**Actual Behavior:**
Image description is totally random
## Environment
- **Open WebUI Version:** v0.1.123
- **Ollama (if applicable):** 0.1.33
- **Operating System:** Windows 11
- **Browser (if applicable):** Chrome 124.0.6367.119
**## Reproduction Details**
**Confirmation:**
- [ X] I have read and followed all the instructions provided in the README.md.
- [ X] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
**Screenshots**



## Installation Method
I installed the Open WebUI using Pinokio by CocktailPeanut.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @kasimchooch on GitHub (May 5, 2024).
Bug Report
Description
Bug Summary:
LLaVA Custom Modelfile doesn't produce related answers with the image I uploaded. Without creating a custom modelfile it works without any problem, but as soon as I type system prompt it starts giving random answers.
Steps to Reproduce:
1- Create a modelfile selecting LLaVA:7b
2- As the system prompt try something identical, mine was 'start your response with AHOY"
3- Open modelfile and type something without uploading an image. It will start the response with AHOY
4- Upload an image and say 'analyze', the response will be totally random and irrelevant to the image.
Expected Behavior:
LLaVA should use the system prompt when analyzing the images. In this case it should start image description with 'AHOY'
Actual Behavior:
Image description is totally random
Environment
Open WebUI Version: v0.1.123
Ollama (if applicable): 0.1.33
Operating System: Windows 11
Browser (if applicable): Chrome 124.0.6367.119
## Reproduction Details
Confirmation:
Screenshots



Installation Method
I installed the Open WebUI using Pinokio by CocktailPeanut.