mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-31 14:00:34 -05:00
[PR #8464] [CLOSED] refactor: Update the code, improve some places #37859
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/8464
Author: @ashm-dev
Created: 1/10/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (10+)
76b3a4frefactor(config): optimize update method and custom name handling5adcfa5style(env): improve code readabilityd2245d9fix(functions): correct module loading and formattinga301a15refactor(tasks): optimize task cancellation logicb5f1545refactor(utils): optimize access control logiccdc7b45refactor(auth): optimize user authentication logica4116a7refactor(images): improve ComfyUI image processing logic48bf2d0refactor(payload): optimize request payload handlingec5c2ecrefactor(plugin): improve frontmatter extractionbab96b4refactor(response): optimize Ollama response handling📊 Changes
15 files changed (+270 additions, -267 deletions)
View changed files
📝
backend/open_webui/config.py(+52 -39)📝
backend/open_webui/env.py(+3 -1)📝
backend/open_webui/functions.py(+16 -10)📝
backend/open_webui/main.py(+59 -58)📝
backend/open_webui/tasks.py(+1 -2)📝
backend/open_webui/utils/access_control.py(+1 -2)📝
backend/open_webui/utils/auth.py(+6 -9)📝
backend/open_webui/utils/images/comfyui.py(+18 -15)📝
backend/open_webui/utils/models.py(+1 -1)📝
backend/open_webui/utils/payload.py(+11 -13)📝
backend/open_webui/utils/plugin.py(+2 -3)📝
backend/open_webui/utils/response.py(+37 -39)📝
backend/open_webui/utils/security_headers.py(+11 -17)📝
backend/open_webui/utils/tools.py(+12 -18)📝
backend/open_webui/utils/webhook.py(+40 -40)📄 Description
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.Description
Updated the code, improving some places. Simplified filtering, got rid of unnecessary code.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.