newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
178 stars 102 forks source link

fix: openai Embeddings module hasattr typo #1174

Closed niehusst closed 4 months ago

niehusst commented 4 months ago

_Before contributing, please read our contributing guidelines and code of conduct._

Overview

Fix a possible typo to make the check against the module function that's actually being wrapped.

Related Github Issue

N/A

Testing

The agent includes a suite of tests which should be used to verify your changes don't break existing functionality. These tests will run with Github Actions when a pull request is made. More details on running the tests locally can be found here, For most contributions it is strongly recommended to add additional tests which exercise your changes.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.