💻 系统环境 | Operating System
macOS
🌐 浏览器 | Browser
Safari
🐛 问题描述 | Bug Description
I have a public domain, on which I hosted a GPT Plugin. When I tried to add it to LobeChat, I consistently got invalid plugin setting errors. Then I found that the request made by LobeChat plugin system did not include Authorization header, which my plugin requires.
🚦 期望结果 | Expected Behavior
Correctly read OpenAI GPT Plugin manifest file and add Authorization header in requests when a plugin that needs service_http auth is used.
📷 复现步骤 | Recurrence Steps
- Please refer to my template here and host the simple weather plugin on a public domain and then add this plugin to LobeChat.
- Configure the plugin with API Key (Auth code)
- Ask a simple question like "What is the weather in Shanghai", then GPT will try to call the function of the plugin
- The backend log should have something like
Accessing function_name - Missing Authorization in headers while the frontend of LobeChat keeps prompting to update plugin settings
📝 补充信息 | Additional Information
No response
💻 系统环境 | Operating System
macOS
🌐 浏览器 | Browser
Safari
🐛 问题描述 | Bug Description
I have a public domain, on which I hosted a GPT Plugin. When I tried to add it to LobeChat, I consistently got invalid plugin setting errors. Then I found that the request made by LobeChat plugin system did not include
Authorizationheader, which my plugin requires.🚦 期望结果 | Expected Behavior
Correctly read OpenAI GPT Plugin manifest file and add
Authorizationheader in requests when a plugin that needs service_http auth is used.📷 复现步骤 | Recurrence Steps
Accessing function_name - Missing Authorization in headerswhile the frontend of LobeChat keeps prompting to update plugin settings📝 补充信息 | Additional Information
No response