[PR #21100] [CLOSED] feat/change: Make usage be True / ON by default #41557

Closed
opened 2026-04-25 13:45:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/21100
Author: @Classic298
Created: 2/2/2026
Status: Closed

Base: devHead: claude/enable-usage-by-default-tbS1P


📝 Commits (1)

  • 75bac27 feat: enable usage capability by default for new models

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 src/lib/components/chat/Chat.svelte (+1 -1)
📝 src/lib/components/workspace/Models/ModelEditor.svelte (+1 -1)

📄 Description

Changed the default value of the usage capability from undefined/false to true, ensuring that token usage information is included in API responses by default. This affects:

  • ModelEditor: usage capability now defaults to true for new models
  • Chat: usage fallback now defaults to true when not explicitly set

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 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/21100 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 2/2/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `claude/enable-usage-by-default-tbS1P` --- ### 📝 Commits (1) - [`75bac27`](https://github.com/open-webui/open-webui/commit/75bac2743e416aba1796ad71e1cace19481a18ca) feat: enable usage capability by default for new models ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Chat.svelte` (+1 -1) 📝 `src/lib/components/workspace/Models/ModelEditor.svelte` (+1 -1) </details> ### 📄 Description Changed the default value of the usage capability from undefined/false to true, ensuring that token usage information is included in API responses by default. This affects: - ModelEditor: usage capability now defaults to true for new models - Chat: usage fallback now defaults to true when not explicitly set ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <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 2026-04-25 13:45:32 -05: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#41557