mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
fix _client in embedding
This commit is contained in:
parent
af8b4484a3
commit
29b9e819af
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ class NVIDIAInferenceAdapter(Inference, ModelRegistryHelper):
|
|||
extra_body["input_type"] = task_type_options[task_type]
|
||||
|
||||
try:
|
||||
response = await self._client.embeddings.create(
|
||||
response = await self._get_client(model).embeddings.create(
|
||||
model=model,
|
||||
input=input,
|
||||
extra_body=extra_body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue