Skip to content

Commit 3e1980b

Browse files
authored
Merge pull request #1721 from silentoplayz/codex/docs-support-search-image-troubleshooting
docs: troubleshoot long search results and image edits
2 parents d64a202 + 769c777 commit 3e1980b

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎docs/troubleshooting/image-generation.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ title: "Image Generation"
3333
- The placeholder is not clickable, so the full-screen preview does not open on an image that cannot be shown. If the message later points at a different image address, the image is loaded again.
3434
- If you run more than one replica and the placeholder comes and goes, check that `/app/backend/data` really is shared between them. See [Scaling & HA → Uploaded Files or RAG Knowledge Inaccessible](/troubleshooting/multi-replica#5-uploaded-files-or-rag-knowledge-inaccessible).
3535

36+
### OpenAI-compatible image edits
37+
38+
- **Only one input image reaches the edit model.** On Open WebUI v0.13.4, the server sends an image list to the connection's `/images/edits` endpoint as multipart form data with one `image[]` part per file. A single image supplied as a string uses the `image` field.
39+
- When testing a custom provider or proxy, use two small test images and check the field names and part count at the endpoint. Configure the multipart parser to collect all `image[]` values. A manual test that uploads repeated `image` fields exercises a different request shape.
40+
3641
### ComfyUI Issues
3742

3843
- **Incompatible Workflow / JSON Errors** (you see `Invalid JSON format for ComfyUI Workflow.` after uploading a workflow):

‎docs/troubleshooting/web-search.mdx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ If web search returns empty content or poor quality results, the issue is often
7272

7373
In Native/Agentic tool calling, if the model omits `count` for `search_web`, Open WebUI uses `WEB_SEARCH_RESULT_COUNT` by default. If the model provides `count`, it is capped at the same admin-configured maximum.
7474

75+
- **Search pushes the prompt over the context limit.** In Native mode, check whether the chat called `fetch_url`. The tool returns extracted page text and can send a long page in one result. In **Settings > Web Search** (admin section), set **Fetch URL Content Length Limit** to a positive value in characters, then retry in a new chat. Leave room for the conversation, other tool results, and the answer. The limit applies per `fetch_url` result.
76+
77+
In Legacy mode, check **Bypass Embedding and Retrieval** in **Settings > Web Search**. With it on, loaded page text goes directly into the prompt. Turn it off to retrieve relevant chunks, or enable **Bypass Web Loader** to use search snippets. See the [web search configuration reference](/reference/env-configuration#bypass_web_search_embedding_and_retrieval).
78+
7579
- **Try different loaders**: Configure `WEB_LOADER_ENGINE` to use `playwright` for JavaScript-heavy sites or `firecrawl`/`tavily` for better extraction.
7680

7781
- **Set a real User-Agent**: If results from Wikipedia, Cloudflare-protected sites, or other large publishers come back empty (or as 403s in logs), the default Python `requests`/`aiohttp` UA is being filtered by bot detection. Set [`USER_AGENT`](/reference/env-configuration#user_agent) to a real browser-like string (e.g. `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0 Safari/537.36`). This affects web search result fetching, the `fetch_url` tool and web pages attached with `#`, including the check whether a link points to a file such as a PDF.

0 commit comments

Comments
 (0)