[PR #19] feat: modernize Anthropic manifold #19

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

📋 Pull Request Information

Original PR: https://github.com/open-webui/functions/pull/19
Author: @jfbloom22
Created: 8/20/2026
Status: 🔄 Open

Base: main ← Head: feat/anthropic-manifold-modernization


📝 Commits (7)

  • 53fa2a0 feat: modernize Anthropic manifold
  • e3e4246 fix: harden Anthropic manifold streaming
  • 11a81ec chore: clean up Anthropic manifold docs
  • 04ae7b5 feat: add Progress Ledger Open WebUI tool
  • 5042184 chore: align Progress Ledger version with deployment
  • d286207 fix anthropic default native tools
  • c480459 log anthropic tool timeouts

📊 Changes

5 files changed (+1443 additions, -231 deletions)

View changed files

📝 functions/pipes/anthropic/README.md (+4 -4)
📝 functions/pipes/anthropic/main.py (+782 -227)
➕ functions/tools/progress_ledger/README.md (+37 -0)
➕ functions/tools/progress_ledger/main.py (+187 -0)
➕ tests/test_anthropic_pipe.py (+433 -0)

📄 Description

Summary

Modernizes the Anthropic manifold around Anthropic’s current Messages API and Open WebUI native tool-calling flow.

  • Use async HTTP requests with retries, timeouts, and actionable error handling.
  • Support streaming and non-streaming tool-use loops, including OpenAI-style tool-history translation.
  • Add capability-aware adaptive/manual thinking configuration and prompt-caching controls.
  • Add regression coverage for payload construction, tool execution, history translation, and thinking output.

Validation

  • python3 -m unittest discover -s tests -v
  • python3 -m py_compile functions/pipes/anthropic/main.py
  • git diff --check

🔄 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/19 **Author:** [@jfbloom22](https://github.com/jfbloom22) **Created:** 8/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/anthropic-manifold-modernization` --- ### 📝 Commits (7) - [`53fa2a0`](https://github.com/open-webui/functions/commit/53fa2a0019b2ba80a2ea61430a631ce2bdf162b8) feat: modernize Anthropic manifold - [`e3e4246`](https://github.com/open-webui/functions/commit/e3e42466f3c64d39ecb6d698e7f8f2be1f426821) fix: harden Anthropic manifold streaming - [`11a81ec`](https://github.com/open-webui/functions/commit/11a81ecef958edf21ff42f6fa70b28e922b7eba5) chore: clean up Anthropic manifold docs - [`04ae7b5`](https://github.com/open-webui/functions/commit/04ae7b5797b404957ad847fffc5275c771f2bdbf) feat: add Progress Ledger Open WebUI tool - [`5042184`](https://github.com/open-webui/functions/commit/504218443dcf6a75f8fdf82b315872fdfc7f11d2) chore: align Progress Ledger version with deployment - [`d286207`](https://github.com/open-webui/functions/commit/d28620777a5a3bb04e493c4fa750cd397705db4d) fix anthropic default native tools - [`c480459`](https://github.com/open-webui/functions/commit/c480459995fa520c099fe37a4c2c32e172e1ba64) log anthropic tool timeouts ### 📊 Changes **5 files changed** (+1443 additions, -231 deletions) <details> <summary>View changed files</summary> 📝 `functions/pipes/anthropic/README.md` (+4 -4) 📝 `functions/pipes/anthropic/main.py` (+782 -227) ➕ `functions/tools/progress_ledger/README.md` (+37 -0) ➕ `functions/tools/progress_ledger/main.py` (+187 -0) ➕ `tests/test_anthropic_pipe.py` (+433 -0) </details> ### 📄 Description ## Summary Modernizes the Anthropic manifold around Anthropic’s current Messages API and Open WebUI native tool-calling flow. - Use async HTTP requests with retries, timeouts, and actionable error handling. - Support streaming and non-streaming tool-use loops, including OpenAI-style tool-history translation. - Add capability-aware adaptive/manual thinking configuration and prompt-caching controls. - Add regression coverage for payload construction, tool execution, history translation, and thinking output. ## Validation - `python3 -m unittest discover -s tests -v` - `python3 -m py_compile functions/pipes/anthropic/main.py` - `git diff --check` --- <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#19
No description provided.