Compare commits

...

3 Commits

Author SHA1 Message Date
Codeded 0cba86adbc
Merge 2178963cf9 into 98ca19b6c3 2025-10-08 22:42:32 +00:00
Krishav 98ca19b6c3
Merge pull request #1793 from KrishavRajSingh/main
Revert "fiix: get usage info in case of tool"
2025-10-09 03:53:28 +05:30
Krishav Raj Singh e129709d96 Revert "fiix: get usage info in case of tool"
This reverts commit 90ee3585cb.
2025-10-09 03:52:48 +05:30
1 changed files with 3 additions and 3 deletions

View File

@ -488,9 +488,9 @@ class ResponseProcessor:
tool_index += 1 tool_index += 1
if finish_reason == "xml_tool_limit_reached": if finish_reason == "xml_tool_limit_reached":
logger.info("XML tool call limit reached, continuing stream to capture usage data") logger.info("Stopping stream processing after loop due to XML tool call limit")
self.trace.event(name="xml_tool_call_limit_reached_continuing_stream", level="DEFAULT", status_message=(f"XML tool call limit reached, continuing stream to capture usage data")) self.trace.event(name="stopping_stream_processing_after_loop_due_to_xml_tool_call_limit", level="DEFAULT", status_message=(f"Stopping stream processing after loop due to XML tool call limit"))
# Don't break - continue processing stream to capture final usage chunk break
logger.info(f"Stream complete. Total chunks: {chunk_count}") logger.info(f"Stream complete. Total chunks: {chunk_count}")