From e43f75dd1bff2d1730cc964d8619bfd4e2d35412 Mon Sep 17 00:00:00 2001 From: claude Date: Tue, 2 Jun 2026 15:01:41 +0000 Subject: [PATCH] refactor: rename machine_name to instance_name in _bottle_for_slug --- bot_bottle/cli/dashboard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot_bottle/cli/dashboard.py b/bot_bottle/cli/dashboard.py index df17964..9e225ee 100644 --- a/bot_bottle/cli/dashboard.py +++ b/bot_bottle/cli/dashboard.py @@ -659,7 +659,7 @@ def _bottle_for_slug( if slug in bottles: _cm, bottle, _identity = bottles[slug] return bottle, "" - machine_name = f"bot-bottle-{slug}" + instance_name = f"bot-bottle-{slug}" prompt_path: str | None = None metadata = read_metadata(slug) if metadata is not None and manifest is not None: @@ -672,12 +672,12 @@ def _bottle_for_slug( backend = metadata.backend if metadata is not None else "" if backend == "smolmachines": synth: object = SmolmachinesBottle( - machine_name, + instance_name, prompt_path=prompt_path, ) else: synth = DockerBottle( - container=machine_name, + container=instance_name, teardown=lambda: None, prompt_path_in_container=prompt_path, )