mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #2227] [CLOSED] fix/chore: (wip) DRY API error handling #36563
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/2227
Author: @akx
Created: 5/13/2024
Status: ❌ Closed
Base:
dev← Head:async-correct📝 Commits (2)
815d6b4Add API request helpers967799eDRY off audio/auths/ollama APIs📊 Changes
4 files changed (+174 additions, -912 deletions)
View changed files
📝
src/lib/apis/audio/index.ts(+9 -106)📝
src/lib/apis/auths/index.ts(+39 -381)➕
src/lib/apis/helpers.ts(+66 -0)📝
src/lib/apis/ollama/index.ts(+60 -425)📄 Description
Description
This starts to clean up the copy-pasted frontend API access code.
Changelog Entry
TBD
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.