-
Notifications
You must be signed in to change notification settings - Fork 943
Open
Description
部分工具例如 oai-compatible-copilot 在附加调用工具时可能会不填写 title 参数,导致以下错误
Google API returned status 400 (STREAMING). Response details: {
"error": {
"code": 400,
"message": "Unable to submit request because required fields ['title'] are not defined in the schema properties.",
"status": "INVALID_ARGUMENT"
}
}
如果确实是缺少 title 参数的问题,是否可以在 OAI 接口请求没有标题的时候自动附加上标题?例如以下请求
"command": {
"type": "string",
"description": "The command to run"
}
转换成
"command": {
"type": "string",
"description": "The command to run",
"title": "command"
}
WenJiazhi and llsccm
Metadata
Metadata
Assignees
Labels
No labels