Fix aiohttp location

This commit is contained in:
Jiayi 2025-09-09 15:01:49 -07:00
parent 3f6bbbb560
commit d78e30fe8b

View file

@ -5,6 +5,7 @@
# the root directory of this source tree.
import aiohttp
from openai import NOT_GIVEN
from llama_stack.apis.inference import (
@ -132,8 +133,6 @@ class NVIDIAInferenceAdapter(OpenAIMixin, Inference):
"Content-Type": "application/json",
}
import aiohttp
try:
async with aiohttp.ClientSession() as session:
async with session.post(ranking_url, headers=headers, json=payload) as response: