def get_loaded_models(self) -> dict:
        """Returns the available models in the cache."""

        return {"models": [{"model_name": ix.split("||")[0], "model_device": ix.split("||")[-1]}
                           for ix in _available_models if isinstance(ix, str)]}
Returns the available models in the cache.
src/marqo/inference/native_inference/load_model.py