I have read and followed all the instructions provided in the README.md.
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.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
When I upload a .py I expect the model to analyze the whole file.
Actual Behavior:
I noticed that the bot was answering not having "read" the whole file. If I ask it to send me the first and last lines of the file, the first line is ok but the last line is, in fact, one of the firsts lines and not the last.
Description
Bug Summary:
.py files uploaded to OpenAI\Claude\Mistral are not read entirely by the bot.
Reproduction Details
Steps to Reproduce:
Open a new chat, attach a file and ask a question.
Logs and Screenshots
Browser Console Logs:
I don't find anything relevant.
Docker Container Logs:
I don't find anything relevant.
Originally created by @mariomaz87 on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10508
# Bug Report
---
## Installation Method
Docker Compose on a Raspberry Pi with RaspberryOS
## Environment
- **Open WebUI Version:** 0.5.16 (but the same behavior was present also in past versions)
- **Ollama (if applicable):** [e.g., v0.2.0, v0.1.32-rc1]
- **Operating System:** RaspberryOS
- **Browser (if applicable):** Firefox and Safari
**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.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
When I upload a .py I expect the model to analyze the whole file.
## Actual Behavior:
I noticed that the bot was answering not having "read" the whole file. If I ask it to send me the first and last lines of the file, the first line is ok but the last line is, in fact, one of the firsts lines and not the last.
## Description
**Bug Summary:**
.py files uploaded to OpenAI\Claude\Mistral are not read entirely by the bot.
## Reproduction Details
**Steps to Reproduce:**
Open a new chat, attach a file and ask a question.
## Logs and Screenshots
**Browser Console Logs:**
I don't find anything relevant.
**Docker Container Logs:**
I don't find anything relevant.
**Screenshots/Screen Recordings (if applicable):**
n\a
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 @mariomaz87 on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10508
Bug Report
Installation Method
Docker Compose on a Raspberry Pi with RaspberryOS
Environment
Open WebUI Version: 0.5.16 (but the same behavior was present also in past versions)
Ollama (if applicable): [e.g., v0.2.0, v0.1.32-rc1]
Operating System: RaspberryOS
Browser (if applicable): Firefox and Safari
Confirmation:
Expected Behavior:
When I upload a .py I expect the model to analyze the whole file.
Actual Behavior:
I noticed that the bot was answering not having "read" the whole file. If I ask it to send me the first and last lines of the file, the first line is ok but the last line is, in fact, one of the firsts lines and not the last.
Description
Bug Summary:
.py files uploaded to OpenAI\Claude\Mistral are not read entirely by the bot.
Reproduction Details
Steps to Reproduce:
Open a new chat, attach a file and ask a question.
Logs and Screenshots
Browser Console Logs:
I don't find anything relevant.
Docker Container Logs:
I don't find anything relevant.
Screenshots/Screen Recordings (if applicable):
n\a
@tjbck commented on GitHub (Feb 21, 2025):
You should use a full context mode for this.