MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_loaded_model

Method get_loaded_model

core/loader_v2.py:357–359  ·  view source on GitHub ↗

Get the currently loaded model type.

(self)

Source from the content-addressed store, hash-verified

355 return self.load_primary()
356
357 def get_loaded_model(self) -> Optional[str]:
358 """Get the currently loaded model type."""
359 return "primary" if self._loaded else None
360
361 def is_loaded(self, model_type: str = None) -> bool:
362 """Check if the model is loaded."""

Callers 3

get_model_statusFunction · 0.80
_main_loopMethod · 0.80
model_activeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected