mirror of
https://github.com/open-webui/functions.git
synced 2026-07-18 18:54:33 -04:00
[PR #2] [MERGED] Fetch the latest Anthropic models #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/functions/pull/2
Author: @jfbloom22
Created: 5/26/2025
Status: ✅ Merged
Merged: 5/26/2025
Merged by: @tjbck
Base:
main← Head:feat/anthropic-with-fetch📝 Commits (2)
a124af3fetching anthropic models via APIdb107aekeep it simple for most people by removing the cache valve📊 Changes
2 files changed (+83 additions, -24 deletions)
View changed files
📝
functions/pipes/anthropic/README.md(+4 -2)📝
functions/pipes/anthropic/main.py(+79 -22)📄 Description
Anthropic models will become available as soon as they are available in the model list API endpoint.
Defaults to 10 minute cache so that we don't introduce excessive API calls getting the model list.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.