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

Method get_active_provider

src/mcp_cli/utils/preferences.py:473–475  ·  view source on GitHub ↗

Get active provider.

(self)

Source from the content-addressed store, hash-verified

471 self.save_preferences()
472
473 def get_active_provider(self) -> str | None:
474 """Get active provider."""
475 return self.preferences.provider.active_provider
476
477 def set_active_provider(self, provider: str) -> None:
478 """Set active provider."""

Callers 15

_test_initializationMethod · 0.45
_test_model_listingMethod · 0.45
_test_client_creationMethod · 0.45
_test_model_refreshMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45

Calls

no outgoing calls