Closed lrafeei closed 3 months ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ PYTHON | bandit | 1 | 0 | 5.71s | |
✅ PYTHON | black | 7 | 1 | 0 | 2.4s |
✅ PYTHON | flake8 | 7 | 0 | 0.84s | |
✅ PYTHON | isort | 7 | 1 | 0 | 0.23s |
❌ PYTHON | pylint | 7 | 31 | 6.0s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
Attention: Patch coverage is 81.81818%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 81.66%. Comparing base (
2ab12c5
) to head (77bd146
).
Files | Patch % | Lines |
---|---|---|
newrelic/hooks/mlmodel_openai.py | 81.81% | 0 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds support for
.with_raw_response.
prepending to HTTP method calls in OpenAI.Currently, the New Relic instrumentation will instrument this, but during the collection of custom AI event attributes, this modified response type (LegacyAPIResponse) will result in a crash.
This is part 1 of two PRs. The second part will cover the streaming version of this functionality,
.with_streaming_response.