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

Open
opened 2026-02-15 21:15:30 -05:00 by yindo · 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: mainHead: 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>
yindo added the pull-request label 2026-02-15 21:15:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/functions#13