openai/plugins-quickstart

DELETE not work in a non-local server

codemee opened this issue · 7 comments

The code works fine while running in local. But the DELETE method doesn't run when running in
public.

What do you mean by running in public? Can you please add more details and share an example?

By 'public' I means not running as a localhost server but in public internet.

Did you modify the openapi.yaml and ai-plugin.json to point to your remote URL?

Sure, the add and list todo functions work correctly. You can verify that in the screenshot bellow

圖片

When I say something that trigger the TODO plugin to delete a todo item, I can see the action to GET the api yaml file and then nothing happened.

圖片

You can check the code here:

https://replit.com/@meebox/gpt-todo-plugin

Hi @codemee where are you storing the todos? I am looking at your code and I can see the code to add or retrieve todos but I am not seeing any reference of a database where the todos are being stored.

Oh wow, so this has been going on for over a month now? I got the same problem, no localhost plugins work now. Everything is fine, but calls never reach the localhost server, so the OpenAI backend is not sending them out.