mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
[PR #3734] [MERGED] refactor: Refactor backend/main.py #8122
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/3734
Author: @michaelpoluektov
Created: 7/9/2024
Status: ✅ Merged
Merged: 7/9/2024
Merged by: @tjbck
Base:
dev← Head:refactor-main📝 Commits (10+)
afd7421Update main.py0951475Update main.py02f242ekeep title, task, function tags for pipelines24c7990revert not delete on pipe49b4211Merge branch 'dev' of https://github.com/open-webui/open-webui into devf9e3c47rebasee3e02e0refac: backend/main.pyd7dd901refac: remove nestingff47493refac: remove model param7ffd75brefac: black📊 Changes
1 file changed (+244 additions, -364 deletions)
View changed files
📝
backend/main.py(+244 -364)📄 Description
Was going to add this with another PR to fix
__event_emitter__in Functions but thought this needed to be addressed separately.Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Changed
modelparameter ifmodelwas overridden anywayget_sorted_filtersinto a separate functionTested with both functions and tools. No changes in functionality expected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.