Skip to content

Commit e1ba132

Browse files
committed
fix: support repo/model:version
1 parent ec3c9f1 commit e1ba132

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/openllm/model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def list_bento(
9696
) -> typing.List[BentoInfo]:
9797
ensure_repo_updated()
9898

99+
if repo_name is None and tag and "/" in tag:
100+
repo_name, tag = tag.split("/", 1)
101+
99102
if repo_name is not None:
100103
config = load_config()
101104
if repo_name not in config.repos:

0 commit comments

Comments
 (0)