open-webui/backend/apps/rag
Que Nguyen eb7bba81fe
Refactor URL validation function
- The check for private IP addresses often did not yield the expected results, especially with errors like: `[Errno -2] Name or service not known`.
- Removed the check for private IP addresses in the URL validation process.
- Simplified the `validate_url` function to focus on validating the URL format and checking the existence of the URL using a HEAD request.
2024-06-12 08:15:04 +07:00
..
search feat: add DuckDuckGo search functionality using duckduckgo_search library 2024-06-11 19:49:08 +05:30
main.py Refactor URL validation function 2024-06-12 08:15:04 +07:00
utils.py refac: tools & rag 2024-06-11 01:10:24 -07:00