model_metadata_directory = $model_metadata_directory; } /** * {@inheritDoc} * * @since 1.3.0 */ public function isConfigured(): bool { try { // Reaching the model tags means the host is up, speaks Ollama, and accepted our credentials. $this->model_metadata_directory->listModelTags(); return true; } catch ( \Throwable $e ) { return false; } } }