Skip to content

Commit cc4b5fe

Browse files
committed
fix repo
1 parent 836a9ec commit cc4b5fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/agentex/lib/cli/commands/agents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def build(
146146
try:
147147
image_url = build_agent(
148148
manifest_path=manifest,
149-
registry_url=registry, # Now guaranteed to be non-None
150-
repository_name=repository_name or "default-repo", # Provide default
149+
registry_url=registry,
150+
repository_name=repository_name,
151151
platforms=platform_list,
152152
push=push,
153153
secret=secret or "", # Provide default empty string

src/agentex/lib/cli/handlers/agent_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DockerBuildError(Exception):
2121
def build_agent(
2222
manifest_path: str,
2323
registry_url: str,
24-
repository_name: str,
24+
repository_name: str | None,
2525
platforms: list[str],
2626
push: bool = False,
2727
secret: str = None,

0 commit comments

Comments
 (0)