mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
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/3020
Author: @CristianVladescu
Created: 6/11/2024
Status: ❌ Closed
Base:
main← Head:fix-docs-dir-in-ui📝 Commits (10+)
54bbfa5chore: npm5a3736ffeat: tools page8ad52f0feat: code editorf2bd3fdchore: rm console logdd423f4feat: default tools templatefb0f106refac: styling8b1e2cefeat: code format12a04b1refac: stylingf43b545refac6e7e575refac📊 Changes
73 files changed (+2395 additions, -135 deletions)
View changed files
📝
backend/apps/rag/main.py(+50 -2)📝
backend/apps/rag/utils.py(+2 -12)➕
backend/apps/webui/internal/migrations/012_add_tools.py(+61 -0)📝
backend/apps/webui/main.py(+5 -2)➕
backend/apps/webui/models/tools.py(+131 -0)📝
backend/apps/webui/routers/chats.py(+1 -1)➕
backend/apps/webui/routers/tools.py(+178 -0)📝
backend/apps/webui/routers/utils.py(+17 -0)➕
backend/apps/webui/utils.py(+23 -0)📝
backend/config.py(+24 -1)📝
backend/constants.py(+1 -0)📝
backend/main.py(+182 -19)📝
backend/utils/task.py(+5 -0)➕
backend/utils/tools.py(+73 -0)📝
package-lock.json(+194 -7)📝
package.json(+4 -0)📝
src/app.css(+21 -0)➕
src/lib/apis/tools/index.ts(+193 -0)📝
src/lib/apis/utils/index.ts(+33 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+43 -2)...and 53 more files
📄 Description
DISCARD. Missed changing the target branch. Recreated #3021 with correct target branch
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Under admin/settings/documents section, the DOCS_DIR is statically shown as
/data/docswhen in fact the dafault value is/app/backend/data/docs, misleading the user to the wrong path he has to mount. Also, if the DOCS_DIR is provided in the ENV vars, again, the value won't be reflected in UIAdded
DOCS_FILE_INCLUDE_FILTER_LISTandDOCS_FILE_EXCLUDE_FILTER_LISTto further enhance the Docs scanning functionality, also configurable from the admin documents settings UIChanged
get_rag_config()now returns the value of DOCS_DIR so it can be shown in the admin documents settings UI dynamicallyFixed
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.