mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 17:02:01 -05:00
[PR #24029] [CLOSED] fix: add missing import requests in SafeFireCrawlLoader
#114795
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24029
Author: @Jah-yee
Created: 4/23/2026
Status: ❌ Closed
Base:
main← Head:fix/23966-requests-import📝 Commits (1)
25fc351fix: add missingimport requestsin SafeFireCrawlLoader📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/retrieval/web/utils.py(+1 -0)📄 Description
Good day,
Description
In
backend/open_webui/retrieval/web/utils.py, theSafeFireCrawlLoader.lazy_load()method callsrequests.post()but therequestsmodule is not imported. This causes aNameError: name '\''requests'\'' is not definedat runtime.Fix
Added
import requeststo the imports section of the file.This is a minimal one-line fix that resolves the
NameErrorso thatSafeFireCrawlLoadercan function correctly.Thank you for your work on this project. I hope this small fix is helpful. Please let me know if there's anything to adjust.
Warmly,
RoomWithOutRoof
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.