def _create_ollama_model(model_name: str):
    """Helper function to create an Ollama model with specified model name."""
    # Ollama runs locally, so we don't need API keys
    base_url = Configuration.get("OLLAMA_BASE_URL", "http://localhost:11434/v1")
    return OpenAIModel(
        model_name,
        provider=OpenAIProvider(base_url=base_url)
    ), None
Helper function to create an Ollama model with specified model name.
src/upsonic/server/level_utilized/utility.py