MCPcopy Create free account
hub / github.com/IBM/mcp-cli / __init__

Method __init__

src/mcp_cli/model_management/model_manager.py:43–53  ·  view source on GitHub ↗

Initialize ModelManager with chuk_llm configuration.

(self)

Source from the content-addressed store, hash-verified

41 """
42
43 def __init__(self) -> None:
44 """Initialize ModelManager with chuk_llm configuration."""
45 self._chuk_config = None
46 self._active_provider: str | None = None
47 self._active_model: str | None = None
48 self._custom_providers: dict[str, RuntimeProviderConfig] = {}
49 self._client_factory = ClientFactory()
50
51 self._initialize_chuk_llm()
52 self._load_custom_providers()
53 # Note: Discovery is NOT triggered automatically - call refresh_models() if needed
54
55 # ── Initialization ────────────────────────────────────────────────────────
56

Callers

nothing calls this directly

Calls 3

_initialize_chuk_llmMethod · 0.95
ClientFactoryClass · 0.90

Tested by

no test coverage detected