mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-21 11:56:09 +00:00
chore(agent-runner): align marketplace download indentation
This commit is contained in:
@@ -465,11 +465,11 @@ class PluginRuntimeConnector(ManagedRuntimeConnector):
|
|||||||
|
|
||||||
download_resp = await client.get(
|
download_resp = await client.get(
|
||||||
f'{space_url}/api/v1/marketplace/plugins/download/{plugin_author}/{plugin_name}/{latest_version}'
|
f'{space_url}/api/v1/marketplace/plugins/download/{plugin_author}/{plugin_name}/{latest_version}'
|
||||||
)
|
)
|
||||||
if download_resp.status_code != 200:
|
if download_resp.status_code != 200:
|
||||||
raise Exception(
|
raise Exception(
|
||||||
f'Failed to download plugin {plugin_author}/{plugin_name}: {download_resp.status_code}'
|
f'Failed to download plugin {plugin_author}/{plugin_name}: {download_resp.status_code}'
|
||||||
)
|
)
|
||||||
|
|
||||||
file_bytes = download_resp.content
|
file_bytes = download_resp.content
|
||||||
self._inspect_plugin_package(file_bytes, task_context)
|
self._inspect_plugin_package(file_bytes, task_context)
|
||||||
|
|||||||
Reference in New Issue
Block a user