You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
描述你的问题(Describe the bug)
随便让AI写一段代码,比如点击聊天框里默认的“Generate a Java Quicksort Algorithm”,会报错,ai接口直接500,
报错信息如下:
{
"error": {
"message": "Invalid 'tools[7].function.description': string too long. Expected a string with maximum length 1024, but got a string with length 1520 instead.",
"type": "invalid_request_error",
"param": "tools[7].function.description",
"code": "string_above_max_length"
}
}
预期表现(Expected behavior)
控制tool的描述的长度
环境信息(Environment)
OS: macOS
Browser: chrome
OpenSumi Version: 不知道是几,反正是main分支直接启动的
The text was updated successfully, but these errors were encountered:
描述你的问题(Describe the bug)
随便让AI写一段代码,比如点击聊天框里默认的“Generate a Java Quicksort Algorithm”,会报错,ai接口直接500,
报错信息如下:
{
"error": {
"message": "Invalid 'tools[7].function.description': string too long. Expected a string with maximum length 1024, but got a string with length 1520 instead.",
"type": "invalid_request_error",
"param": "tools[7].function.description",
"code": "string_above_max_length"
}
}
预期表现(Expected behavior)
控制tool的描述的长度
环境信息(Environment)
The text was updated successfully, but these errors were encountered: