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.
2 parents 5a3431f + 61c6fea commit f7efc7dCopy full SHA for f7efc7d
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