Spaces:
Sleeping
Sleeping
| """ | |
| DEPRECATED: This module has been merged into tool_schemas.py | |
| Migration: | |
| from .tool_schemas_plus import openai_tools | |
| ↓ | |
| from .tool_schemas import openai_tools | |
| To enable extended features: | |
| openai_tools(extended=True) | |
| # or set ENABLE_EXTENDED_TOOLS=1 in environment | |
| """ | |
| import warnings | |
| warnings.warn( | |
| "tool_schemas_plus is deprecated. Use tool_schemas with extended=True flag.", | |
| DeprecationWarning, | |
| stacklevel=2 | |
| ) | |
| # Thin wrapper for backward compatibility | |
| from .tool_schemas import openai_tools as _openai_tools | |
| from .tool_schemas import anthropic_tools as _anthropic_tools | |
| def openai_tools(): | |
| """DEPRECATED: Use tool_schemas.openai_tools(extended=True) instead.""" | |
| return _openai_tools(extended=True) | |
| def anthropic_tools(): | |
| """DEPRECATED: Use tool_schemas.anthropic_tools(extended=True) instead.""" | |
| return _anthropic_tools(extended=True) | |