[PR #12] Implement ENABLE_1M_CONTEXT feature for models #12

Open
opened 2026-10-18 14:07:31 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/functions/pull/12
Author: @croakingtoad
Created: 11/21/2025
Status: 🔄 Open

Base: main ← Head: patch-2


📝 Commits (1)

  • fe4d5c4 Implement ENABLE_1M_CONTEXT feature for models

📊 Changes

1 file changed (+57 additions, -18 deletions)

View changed files

📝 functions/pipes/anthropic/main.py (+57 -18)

📄 Description

Add support for 1M context window in Anthropic API; adds toggle in valve

image

🔄 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/functions/pull/12 **Author:** [@croakingtoad](https://github.com/croakingtoad) **Created:** 11/21/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`fe4d5c4`](https://github.com/open-webui/functions/commit/fe4d5c4b63067236f57f7837a8ae018083212727) Implement ENABLE_1M_CONTEXT feature for models ### 📊 Changes **1 file changed** (+57 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `functions/pipes/anthropic/main.py` (+57 -18) </details> ### 📄 Description Add support for 1M context window in Anthropic API; adds toggle in valve <img width="1307" height="826" alt="image" src="https://github.com/user-attachments/assets/483eb946-3c27-42a0-8762-7130e15e400d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/functions#12
No description provided.