fixed pre-commit check

This commit is contained in:
sarthakdeshpande 2025-03-09 14:15:08 +05:30
parent 1920c65f61
commit b5a505aa8d

View file

@ -74,10 +74,7 @@ class WolframAlphaToolRuntimeImpl(ToolsProtocolPrivate, ToolRuntime, NeedsReques
"output": "json",
}
async with httpx.AsyncClient() as client:
response = await client.get(
params=params,
url=self.url
)
response = await client.get(params=params, url=self.url)
response.raise_for_status()
return ToolInvocationResult(content=json.dumps(self._clean_wolfram_alpha_response(response.json())))