Skip to content

Commit 303bf6d

Browse files
committed
chore: linting
1 parent 95027b8 commit 303bf6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

holmes/core/tools_utils/tool_context_window_limiter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def prevent_overly_big_tool_response(tool_call_result: ToolCallResult, llm: LLM)
2828
tool_call_result.result.status = StructuredToolResultStatus.ERROR
2929
tool_call_result.result.data = None
3030
tool_call_result.result.error = error_message
31-
tool_call_result.size = None
3231

3332
sentry_helper.capture_toolcall_contains_too_many_tokens(
3433
tool_call_result, tool_call_result.size, max_tokens_allowed
3534
)
35+
tool_call_result.size = None

0 commit comments

Comments
 (0)