issue: Initial request contains an empty string as the assistant content. #1033

Closed
opened 2025-11-11 14:35:59 -06:00 by GiteaMirror · 0 comments
Owner

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:

  • 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):
image

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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1033