chore(agent-runner): align marketplace download indentation

This commit is contained in:
huanghuoguoguo
2026-06-14 21:36:44 +08:00
parent 50c68e658c
commit d073134c83

View File

@@ -465,11 +465,11 @@ class PluginRuntimeConnector(ManagedRuntimeConnector):
download_resp = await client.get(
f'{space_url}/api/v1/marketplace/plugins/download/{plugin_author}/{plugin_name}/{latest_version}'
)
)
if download_resp.status_code != 200:
raise Exception(
f'Failed to download plugin {plugin_author}/{plugin_name}: {download_resp.status_code}'
)
)
file_bytes = download_resp.content
self._inspect_plugin_package(file_bytes, task_context)