mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
[PR #1436] [MERGED] Use locally bundled version of the LiteLLM cost map json #7466
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/1436
Author: @ghost
Created: 4/5/2024
Status: ✅ Merged
Merged: 4/6/2024
Merged by: @tjbck
Base:
dev← Head:feat/litellm-local-cost-map📝 Commits (1)
802eb3bUse locally bundled version of the LiteLLM cost map json📊 Changes
2 files changed (+9 additions, -1 deletions)
View changed files
📝
.env.example(+5 -1)📝
Dockerfile(+4 -0)📄 Description
Pull Request Checklist
Description
Intended to avoid repetitive startup connections by setting
LITELLM_LOCAL_MODEL_COST_MAP="True"Changelog Entry
Added
LITELLM_LOCAL_MODEL_COST_MAP="True". LiteLLM will use the locally bundled version. This will behavior can be changed by setting any value other than "True". The bundled version of the map will be updated with the LiteLLM versions used during the build process.Fixed
Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.