[Q&A] 自定义插件出现调用报错怎么办? #876
-
💻 系统环境 | Operating SystemWindows 🌐 浏览器 | BrowserChrome 🐛 问题描述 | Bug Description使用Chatgpt plus支持的一些插件的时候,总会出现各种不匹配和报错。 报错如下: {
"error": {
"status": 400,
"statusCode": 400,
"response": {
"ok": false,
"url": "https://plugin.scholar-ai.net/api/abstracts?keywords=HMGCS2&sort=date&query=HMGCS2&peer_reviewed_only=true&start_year=2021",
"status": 400,
"statusText": "Bad Request",
"headers": {
"access-control-allow-origin": "http://localhost:3000",
"alt-svc": "h3=\":443\"; ma=2592000",
"apx-hit": "true",
"content-length": "100",
"content-type": "application/json",
"date": [
"Fri",
"29 Dec 2023 03:43:14 GMT"
],
"server": [
"Caddy",
"Google Frontend"
],
"vary": "Origin",
"x-cloud-trace-context": "0bd51863e8a77ed967e94ac28854ca10"
},
"text": "{\n \"message\": \"Invalid sort parameter. Only valid values are cited_by_count or publication_date\"\n}\n",
"data": "{\n \"message\": \"Invalid sort parameter. Only valid values are cited_by_count or publication_date\"\n}\n",
"body": {
"message": "Invalid sort parameter. Only valid values are cited_by_count or publication_date"
},
"obj": {
"message": "Invalid sort parameter. Only valid values are cited_by_count or publication_date"
}
}
}
} 🚦 期望结果 | Expected BehaviorNo response 📷 复现步骤 | Recurrence StepsNo response 📝 补充信息 | Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
没有关系。虽然 LobeChat 的插件机制上兼容了 OpenAI 的 ChatGPT 插件,但是是否可用我们没法保证。 |
Beta Was this translation helpful? Give feedback.
-
It doesn't matter. Although LobeChat's plug-in mechanism is compatible with OpenAI's ChatGPT plug-in, we cannot guarantee whether it is available. |
Beta Was this translation helpful? Give feedback.
-
找到一个网站,里面收集了不少插件,https://chatbotsplace.com/plugins。 不过还有个问题,比如说试用了另外一个可以读github的插件,Talk with Code: https://talkwithcode.say-apps.com/.well-known/openapi.yaml。 需要授权登录: |
Beta Was this translation helpful? Give feedback.
要求完整符合 FC 的入参规范是对模型本身有要求的。根据最近的一些反馈来看,哪怕是 GPT-4 在 Function Call 上也仍然存在不遵循指令的情况。这个是LobeChat作为应用层没法解决的问题。只能等未来 gpt-4.5 或者 gpt-5 的模型能力优化了。