Skip to content

Commit

Permalink
[Mega-Linter] Apply linters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
umaannamalai authored and github-actions[bot] committed Oct 9, 2024
1 parent f705b91 commit 9916499
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions newrelic/hooks/mlmodel_langchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,7 @@ def _record_tool_success(
try:
result = str(response)
except Exception:
_logger.debug(
f"Failed to convert tool response into a string.\n{traceback.format_exception(*sys.exc_info())}"
)
_logger.debug(f"Failed to convert tool response into a string.\n{traceback.format_exception(*sys.exc_info())}")
if settings.ai_monitoring.record_content.enabled:
full_tool_event_dict.update(
{
Expand Down

0 comments on commit 9916499

Please sign in to comment.