mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-21 20:18:52 +00:00
Merge branch 'main' into nvidia-e2e-notebook
This commit is contained in:
commit
c3d8940c95
8 changed files with 214 additions and 11 deletions
|
@ -44,8 +44,7 @@ class NvidiaDatasetIOAdapter:
|
|||
request_headers.update(headers)
|
||||
|
||||
async with aiohttp.ClientSession(headers=request_headers) as session:
|
||||
# TODO: Remove `verify_ssl=False`. Added for testing purposes to call NMP int environment from `docs/notebooks/nvidia/`
|
||||
async with session.request(method, url, params=params, json=json, verify_ssl=False, **kwargs) as response:
|
||||
async with session.request(method, url, params=params, json=json, **kwargs) as response:
|
||||
if response.status != 200:
|
||||
error_data = await response.json()
|
||||
raise Exception(f"API request failed: {error_data}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue