Skip to content

Handle a case in ToolCallPostProcessor where prediction is an empty list of tools#1874

Merged
yoavkatz merged 4 commits intomainfrom
handle_empty_tool_call_list
Jul 22, 2025
Merged

Handle a case in ToolCallPostProcessor where prediction is an empty list of tools#1874
yoavkatz merged 4 commits intomainfrom
handle_empty_tool_call_list

Conversation

@yoavkatz
Copy link
Copy Markdown
Member

Also improved error message printouts

…ist of tools

Also improved error message printouts

Signed-off-by: Yoav Katz <katz@il.ibm.com>
@yoavkatz yoavkatz requested a review from elronbandel July 20, 2025 08:46
@yoavkatz yoavkatz changed the title Handle access in ToolCallPostProcessor where prediction is an empty list of tools Handle a case in ToolCallPostProcessor where prediction is an empty list of tools Jul 20, 2025
Comment thread src/unitxt/operators.py Outdated
Copy link
Copy Markdown
Member

@elronbandel elronbandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my suggestion regarding the context error. I approved since I dont want to delay the unrelated bug fix.

@yoavkatz yoavkatz merged commit 5520d4c into main Jul 22, 2025
18 checks passed
@yoavkatz yoavkatz deleted the handle_empty_tool_call_list branch July 22, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants