THUNLP-MT/StableToolBench

role error

Closed this issue · 1 comments

When I used CoT to reproduce your code, the generated answer's role appeared as 'tool' instead of the given answer's 'function', which caused an error in convert_answer. Have you encountered this issue?

image

openai的调用方式从function_call变成了tool_call,导致生成的json格式发生改变。run_convert_answer.sh脚本却没有更新,导致无法进行format。