def _create_anthropic_model(model_name: str):
    """Helper function to create an Anthropic model with specified model name."""
    anthropic_api_key = Configuration.get("ANTHROPIC_API_KEY")
    if not anthropic_api_key:
        return None, {"status_code": 401, "detail": "No API key provided. Please set ANTHROPIC_API_KEY in your configuration."}
    return AnthropicModel(model_name, provider=AnthropicProvider(api_key=anthropic_api_key)), None
Helper function to create an Anthropic model with specified model name.
src/upsonic/server/level_utilized/utility.py