We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8890cde commit 60d1669Copy full SHA for 60d1669
newrelic/hooks/mlmodel_openai.py
@@ -972,7 +972,7 @@ def instrument_openai_resources_embeddings(module):
972
wrap_function_wrapper(module, "Embeddings.create", wrap_embedding_sync)
973
974
if hasattr(module, "AsyncEmbeddings"):
975
- if hasattr(module.Embeddings, "create"):
+ if hasattr(module.AsyncEmbeddings, "create"):
976
wrap_function_wrapper(module, "AsyncEmbeddings.create", wrap_embedding_async)
977
978
0 commit comments