Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/cli/test_studio_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,9 @@ def update_application_code_bundle(self, **kwargs: object) -> str:
assert captured["offline_runtime"] is False
assert captured["package_provider"] == "byteplus"
assert captured["bundle_agentkit_cli"] is False
assert captured["package_requirements"] == "./veadk.whl\n./pydantic.whl\n"
assert captured["package_requirements"] == (
"--extra-index-url https://pypi.org/simple\n./veadk.whl\n./pydantic.whl\n"
)
update = captured["update"]
assert isinstance(update, dict)
run_script = str(captured["run_script"])
Expand Down
4 changes: 4 additions & 0 deletions veadk/cli/cli_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -16483,6 +16483,10 @@ def frontend_update(
provider=provider_id,
offline_runtime=False,
)
if provider_id == "byteplus":
requirements = (
"--extra-index-url https://pypi.org/simple\n" + requirements
)
except ValueError as error:
raise click.ClickException(str(error)) from error
try:
Expand Down
Loading