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

Method get_active_model

src/mcp_cli/utils/preferences.py:482–484  ·  view source on GitHub ↗

Get active model.

(self)

Source from the content-addressed store, hash-verified

480 self.save_preferences()
481
482 def get_active_model(self) -> str | None:
483 """Get active model."""
484 return self.preferences.provider.active_model
485
486 def set_active_model(self, model: str) -> None:
487 """Set active model."""

Callers 14

_test_initializationMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
resolveMethod · 0.45
switch_toMethod · 0.45
get_statusMethod · 0.45
modelMethod · 0.45

Calls

no outgoing calls