mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-16 03:50:37 -05:00
Websearch completion API endpoint returns a "400 Bad Request" error when attempting to generate search queries. #1293
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrisoutwright on GitHub (Jun 17, 2024).
Bug Report
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Steps to Reproduce:
Expected Behavior:
The API should process the request and return a completion for the search query.
Actual Behavior:
The API returns a "400 Bad Request" error, indicating that the request is malformed or invalid.
Environment
Open WebUI Version: v0.3.5
Ollama (if applicable): 0.1.41
Operating System: Windows 10
Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Manual installation
Additional Information
The issue seems to occur specifically when generating search query completions. Other API endpoints, such as chat completions, appear to work fine. This suggests the issue might be specific to the /api/task/query/completions endpoint or related request handling.