mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #15251] issue: Exa.ai search is failing #72112
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 @arcreactor81 on GitHub (Jun 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15251
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.15
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Toggling web search should allow me to use the exa.ai search capability, which was true as of last update.
Actual Behavior
Issue: Web search functionality fails with a 400 error when no search engine API key is found in environment variables.
raise HTTPException(
status_code=400,
detail="No search engine API key found in environment variables"
)
Location:
Tried using multiple models from different providers, but same issue.
Steps to Reproduce
Trigger a web search query to exa.ai endpoint; all other search providers are working as intended, but not exa.ai.
Logs & Screenshots
File "/app/backend/open_webui/routers/retrieval.py", line 1867, in process_web_search
fastapi.exceptions.HTTPException: 400: No search engine API key found in environment variables
2025-06-24 05:31:22.211 | INFO | open_webui.routers.openai:get_all_models:391 - get_all_models() - {}
2025-06-24 05:31:22.820 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:33820 - "GET /_app/version.json HTTP/1.1" 304 - {}
2025-06-24 05:31:25.874 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:54148 - "POST /api/chat/completions HTTP/1.1" 200 - {}
2025-06-24 05:31:25.916 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:54148 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-06-24 05:31:32.459 | INFO | open_webui.routers.openai:get_all_models:391 - get_all_models() - {}
2025-06-24 05:31:32.505 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:33830 - "POST /api/chat/completed HTTP/1.1" 200 - {}
2025-06-24 05:31:32.576 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:33830 - "POST /api/v1/chats/09f93307-6098-47ee-a9ff-1f34b1715a02 HTTP/1.1" 200 - {}
2025-06-24 05:31:32.606 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:33830 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-06-24 05:31:38.019 | INFO | open_webui.routers.openai:get_all_models:391 - get_all_models() - {}
2025-06-24 05:31:41.831 | INFO | open_webui.routers.openai:get_all_models:391 - get_all_models() - {}
2025-06-24 05:31:41.962 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:54164 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-06-24 05:31:41.963 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:54168 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-06-24 05:31:41.965 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.17.0.1:54170 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
Additional Information
No response
@tjbck commented on GitHub (Jun 24, 2025):
Unable to reproduce, I'd suggest you check whether the API key has been correctly registered.