Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Commit 508afae

Browse files
committed
bug: install tools req body
1 parent 7fdb04c commit 508afae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hive_agent_client/tools/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ async def install_tools(
3636
"""
3737
endpoint = "/install_tools"
3838
url = f"{base_url}{endpoint}"
39-
payload = {"tools": tools}
39+
payload = tools
4040

4141
try:
42-
logging.debug(f"Installing tools to {url} with data: {tools}")
42+
logging.debug(f"Installing tools to {url} with data: {payload}")
4343
response = await http_client.post(url, json=payload)
4444
response.raise_for_status()
4545
logger.debug(f"Response from installing tools: {response.json()}")

0 commit comments

Comments
 (0)