mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: web search
This commit is contained in:
@@ -82,5 +82,5 @@ class ERROR_MESSAGES(str, Enum):
|
||||
)
|
||||
|
||||
WEB_SEARCH_ERROR = (
|
||||
"Oops! Something went wrong while searching the web. Please try again later."
|
||||
lambda err="": f"{err if err else 'Oops! Something went wrong while searching the web.'}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user