mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 04:50:39 +00:00
fixed pre-commit check
This commit is contained in:
parent
1920c65f61
commit
b5a505aa8d
1 changed files with 1 additions and 4 deletions
|
@ -74,10 +74,7 @@ class WolframAlphaToolRuntimeImpl(ToolsProtocolPrivate, ToolRuntime, NeedsReques
|
||||||
"output": "json",
|
"output": "json",
|
||||||
}
|
}
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
response = await client.get(
|
response = await client.get(params=params, url=self.url)
|
||||||
params=params,
|
|
||||||
url=self.url
|
|
||||||
)
|
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
return ToolInvocationResult(content=json.dumps(self._clean_wolfram_alpha_response(response.json())))
|
return ToolInvocationResult(content=json.dumps(self._clean_wolfram_alpha_response(response.json())))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue