diff --git a/agentdesk/runtime/base.py b/agentdesk/runtime/base.py index c015210..590067b 100644 --- a/agentdesk/runtime/base.py +++ b/agentdesk/runtime/base.py @@ -473,7 +473,7 @@ def view( ui_container: Optional[Container] = None for container in client.containers.list(): - if container.image.tags[0] == UI_IMG: # type: ignore + if container.image.tags and container.image.tags[0] == UI_IMG: # type: ignore print("found running UI container") # Retrieve the host port for the existing container host_port = container.attrs["NetworkSettings"]["Ports"]["3000/tcp"][0][ # type: ignore diff --git a/pyproject.toml b/pyproject.toml index 8f13b05..0c83251 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "agentdesk" -version = "0.2.105" +version = "0.2.106" description = "A desktop for AI agents" authors = ["Patrick Barker "] license = "MIT"