Anthropic with Extended Thinking

function

Use the latest Anthropic models (3.7, ncluding extended thinking) right from Open WebUI

carlosaln
@carlosaln
·
2 years ago
154
0
781
Updated 2 years ago
Created Feb 25, 2025
anthropic_with_extended_thinking.py
Python · 510 lines
"""
author: Carlos Lemus
url: @https://github.com/carlosaln/open-webui-functions
license: MIT
"""

import os
import json
import logging
from dataclasses import dataclass, field
from enum import Enum
from functools import lru_cache

Use the latest Anthropic models (3.7, ncluding extended thinking) right from Open WebUI


0