[BUG] Plugin API Key
Describe the bug Chat bot ignores plugins or have an issue locating API Key for plugin
Error: Failed to fetch API spec from https://webreader.webpilotai.com/openapi.yaml with status 403 May 20 01:49:25 AM at AIPluginTool.fromPluginUrl (/opt/render/project/src/node_modules/langchain/dist/tools/aiplugin.cjs:48:19) May 20 01:49:25 AM at process.processTicksAndRejections (node:internal/process/task_queues:95:5) May 20 01:49:25 AM at async AIPlugin.init (/opt/render/project/src/packages/components/dist/nodes/tools/AIPlugin/AIPlugin.js:25:26) May 20 01:49:25 AM at async buildLangchain (/opt/render/project/src/packages/server/dist/utils/index.js:208:50) May 20 01:49:25 AM at async App.processPrediction (/opt/render/project/src/packages/server/dist/index.js:414:40) May 20 01:49:25 AM at async /opt/render/project/src/packages/server/dist/index.js:263:13
To Reproduce Steps to reproduce the behavior:
- Set the plugin url
- Test chat app
Expected behavior I expect the chat agent to use the plugin. However, it either ignores the plugin or attempts to find the API key for the plugin. There's no where to enter API Key.
Setup
- OS: [Mac M1]
- Browser [Chrome]
hey thanks for the bug! We'll add a headers field for you to enter the headers like {Authorization: Bearer ...} for the RequestsGet and RequestsPost tools
Awesome, I look forward to it, thanks!
Now you can configure Url, Description, Headers for GET and POST tools 🎉 Simply re-sync your fork.