Skip to content

Commit 60d1669

Browse files
committed
fix: typo bug
1 parent 8890cde commit 60d1669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic/hooks/mlmodel_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ def instrument_openai_resources_embeddings(module):
972972
wrap_function_wrapper(module, "Embeddings.create", wrap_embedding_sync)
973973

974974
if hasattr(module, "AsyncEmbeddings"):
975-
if hasattr(module.Embeddings, "create"):
975+
if hasattr(module.AsyncEmbeddings, "create"):
976976
wrap_function_wrapper(module, "AsyncEmbeddings.create", wrap_embedding_async)
977977

978978

0 commit comments

Comments
 (0)