Skip to content

Commit 9916499

Browse files
umaannamalaigithub-actions[bot]
authored andcommitted
[Mega-Linter] Apply linters fixes
1 parent f705b91 commit 9916499

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

newrelic/hooks/mlmodel_langchain.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,7 @@ def _record_tool_success(
453453
try:
454454
result = str(response)
455455
except Exception:
456-
_logger.debug(
457-
f"Failed to convert tool response into a string.\n{traceback.format_exception(*sys.exc_info())}"
458-
)
456+
_logger.debug(f"Failed to convert tool response into a string.\n{traceback.format_exception(*sys.exc_info())}")
459457
if settings.ai_monitoring.record_content.enabled:
460458
full_tool_event_dict.update(
461459
{

0 commit comments

Comments
 (0)