Skip to content

Commit 6f56a77

Browse files
committed
chore: linting
1 parent 4d8b603 commit 6f56a77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

holmes/core/tool_calling_llm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ def _process_cost_info(
134134
logging.debug(f"Could not extract cost information: {e}")
135135

136136

137-
def limit_max_output_tokens(maximum_model_output_token: int, max_context_size: int) -> int:
137+
def limit_max_output_tokens(
138+
maximum_model_output_token: int, max_context_size: int
139+
) -> int:
138140
# TODO: also apply this to the API so that we ensure the total context window is not hit
139141
calculated_maximum = floor(min(64000, max_context_size / 5))
140142
if maximum_model_output_token > calculated_maximum:

0 commit comments

Comments
 (0)