Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

role error #16

Open
farawayxxx opened this issue Jun 27, 2024 · 1 comment
Open

role error #16

farawayxxx opened this issue Jun 27, 2024 · 1 comment

Comments

@farawayxxx
Copy link

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
@farawayxxx
Copy link
Author

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

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

No branches or pull requests

1 participant