newrelic / newrelic-python-agent

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

Report only raw content dictionary for anthropic claude. #1120

Closed umaannamalai closed 5 months ago

umaannamalai commented 5 months ago

This PR modifies the content format for anthropic claude models to only return the raw dictionary output rather the previous list with a dictionary inside of it.

github-actions[bot] commented 5 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 1 0 4.87s
✅ PYTHON black 2 0 0 1.22s
✅ PYTHON flake8 2 0 0.58s
✅ PYTHON isort 2 0 0 0.19s
✅ PYTHON pylint 2 0 3.81s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_