-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
工具调用报错:unknown_parameter Unknown parameter: 'messages[2].tool_calls[0].index'. #1253
Closed
6 of 7 tasks
Labels
bug
Something isn't working
Comments
mark 同样问题 而且发现3.5的api比4.0的更不容易报错,但是回复质量太堪忧 |
是的,最新的gpt-4-turbo出问题的概率最大 |
gpt4,直接用官方接口也报错,不知道为啥。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
例行检查
你的版本
问题描述
![image](https://private-user-images.githubusercontent.com/3312460/323986743-b34b97e0-ed0b-4c3a-b36b-0bf2038ca80c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwODE4MzAsIm5iZiI6MTcyMzA4MTUzMCwicGF0aCI6Ii8zMzEyNDYwLzMyMzk4Njc0My1iMzRiOTdlMC1lZDBiLTRjM2EtYjM2Yi0wYmYyMDM4Y2E4MGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDhUMDE0NTMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODRiNmM0MTUzYjdiNjU4ZDQyYTBlOWE4M2M0ZjYzODk4MjhjYjg4NDE2NTQ1MTE4NGFkOTdkZWE5OTE4NWI5YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.tiw8M2qsMcwPv_oqLVn1Cuy1LvntSon2jgiVy6dwBEY)
使用工具调用时报错:unknown_parameter Unknown parameter: 'messages[2].tool_calls[0].index'.看起来是OpenAI的接口在tool_calls中不支持index字段
复现步骤
使用工具调用连接获取当前时间,如图所示,然后问几点了,就会报错,刚开始使用oneapi报错,切换成OpenAI官方的地址后也报同样的错误
预期结果
能够正常使用工具调用
相关截图
The text was updated successfully, but these errors were encountered: