Skip to content

Commit 7be52e3

Browse files
committed
fix: reduced log verbosity when tool returns non string or dictionary value
1 parent 611209c commit 7be52e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nerve/tools/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def get_tool_response(response: t.Any) -> t.Any:
7676
# structured (vision), return as list
7777
return response
7878
else:
79-
logger.warning(f"unknown tool response type: {type(response)}")
79+
logger.debug(f"unknown tool response type: {type(response)}")
8080
return get_tool_response(str(response))
8181

8282

0 commit comments

Comments
 (0)