Originally created by @devlkx on GitHub (May 25, 2024).
Bug Report
Description
Bug Summary:
The initial request contains an empty string as the assistant content.
Steps to Reproduce:
Open Open WebUI.
Initiate the first request.
Expected Behavior:
The initial request's assistant content may trigger a 400 response from some AI platforms, such as Moonshot or Stepfun.
Actual Behavior:
The assistant content of the initial request should be removed.
Environment
Open WebUI Version: v0.1.125
Operating System: MacOS 14
Reproduction Details
Confirmation:
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.
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs here]
Docker Container Logs:
[Include relevant Docker container logs here]
Screenshots (if applicable):
Installation Method
Installed via Docker.
Additional Information
None.
Originally created by @devlkx on GitHub (May 25, 2024).
# Bug Report
## Description
**Bug Summary:**
The initial request contains an empty string as the assistant content.
**Steps to Reproduce:**
1. Open Open WebUI.
2. Initiate the first request.
**Expected Behavior:**
The initial request's assistant content may trigger a 400 response from some AI platforms, such as Moonshot or Stepfun.
**Actual Behavior:**
The assistant content of the initial request should be removed.
## Environment
- **Open WebUI Version:** v0.1.125
- **Operating System:** MacOS 14
## 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.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
## Logs and Screenshots
**Browser Console Logs:**
```plaintext
[Include relevant browser console logs here]
```
**Docker Container Logs:**
```plaintext
[Include relevant Docker container logs here]
```
**Screenshots (if applicable):**
<img width="292" alt="image" src="https://github.com/open-webui/open-webui/assets/25761202/49241c4e-24dc-47b1-8e50-5f3d61c6f7e0">
## Installation Method
Installed via Docker.
## Additional Information
None.
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 @devlkx on GitHub (May 25, 2024).
Bug Report
Description
Bug Summary:
The initial request contains an empty string as the assistant content.
Steps to Reproduce:
Expected Behavior:
The initial request's assistant content may trigger a 400 response from some AI platforms, such as Moonshot or Stepfun.
Actual Behavior:
The assistant content of the initial request should be removed.
Environment
Open WebUI Version: v0.1.125
Operating System: MacOS 14
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
Screenshots (if applicable):

Installation Method
Installed via Docker.
Additional Information
None.