We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 202a3d8 commit 8f2472bCopy full SHA for 8f2472b
holmes/core/tool_calling_llm.py
@@ -135,7 +135,7 @@ def call(
135
perf_timing.measure(f"start iteration {i}")
136
logging.debug(f"running iteration {i}")
137
# on the last step we don't allow tools - we want to force a reply, not a request to run another tool
138
- tools = None if i == max_steps - 1 else tools
+ tools = None if i == max_steps else tools
139
tool_choice = "auto" if tools else None
140
141
total_tokens = self.llm.count_tokens_for_message(messages)
0 commit comments