mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #4598] [MERGED] refactor: Remove unused frontend functions migrated to backend #21519
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/4598
Author: @michaelpoluektov
Created: 8/14/2024
Status: ✅ Merged
Merged: 8/14/2024
Merged by: @tjbck
Base:
dev← Head:cleanup-frontend📝 Commits (1)
ec9e0daremove frontend functions migrated to backend📊 Changes
2 files changed (+0 additions, -175 deletions)
View changed files
📝
src/lib/apis/ollama/index.ts(+0 -50)📝
src/lib/apis/openai/index.ts(+0 -125)📄 Description
Pull Request Checklist
I removed this because those are the functions that called
chat/completionsendpoint (which I'm refactoring).:I saw a few more functions that weren't called but I'm not sure if those are for features that are WIP (
confirmSelectCollaborativeChat,generatePromptin Ollama and potentially others). Might be worth having a look and deleting anything else that's unused for better DX.Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Remove frontend functions migrated to backend:
generateSearchQueryandgenerateTitlegenerateTitle🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.