[PR #1436] [MERGED] Use locally bundled version of the LiteLLM cost map json #7466

Closed
opened 2025-11-11 17:27:18 -06:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: feat/litellm-local-cost-map


📝 Commits (1)

  • 802eb3b Use 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: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation?

Description

Intended to avoid repetitive startup connections by setting LITELLM_LOCAL_MODEL_COST_MAP="True"


Changelog Entry

Added

  • New environment variable default: 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

  • Fixes repetitive startup connections to github

Changed

  • Updated Dockerfile
  • .env.example

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1436 **Author:** [@ghost](https://github.com/ghost) **Created:** 4/5/2024 **Status:** ✅ Merged **Merged:** 4/6/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/litellm-local-cost-map` --- ### 📝 Commits (1) - [`802eb3b`](https://github.com/open-webui/open-webui/commit/802eb3beec038b321753f375c8e68978753912a5) Use locally bundled version of the LiteLLM cost map json ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+5 -1) 📝 `Dockerfile` (+4 -0) </details> ### 📄 Description ## Pull Request Checklist - [X] **Description:** Briefly describe the changes in this pull request. - [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation? --- ## Description Intended to avoid repetitive startup connections by setting `LITELLM_LOCAL_MODEL_COST_MAP="True"` --- ### Changelog Entry ### Added - New environment variable default: `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 - Fixes repetitive startup connections to github ### Changed - Updated Dockerfile - .env.example --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:27:18 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#7466