plugins-quickstart icon indicating copy to clipboard operation
plugins-quickstart copied to clipboard

DELETE not work in a non-local server

Open codemee opened this issue 2 years ago • 7 comments

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

codemee avatar Jul 17 '23 13:07 codemee

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

that-one-arab avatar Jul 29 '23 03:07 that-one-arab

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

codemee avatar Jul 29 '23 06:07 codemee

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

that-one-arab avatar Jul 29 '23 06:07 that-one-arab

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

codemee avatar Jul 29 '23 06:07 codemee

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.

saad-malik-codes avatar Aug 10 '23 19:08 saad-malik-codes

Its the sample of the plugin guide from openai. It just stores the todos in memory.

Saad Malik @.***> 於 2023年8月11日 週五 上午3:13 寫道:

Hi @codemee https://github.com/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.

— Reply to this email directly, view it on GitHub https://github.com/openai/plugins-quickstart/issues/63#issuecomment-1673769864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5MWI4HHLNSOMTKUK73GTXUUXFVANCNFSM6AAAAAA2M6LEFY . You are receiving this because you were mentioned.Message ID: @.***>

codemee avatar Aug 11 '23 03:08 codemee

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.

grexzen avatar Sep 06 '23 16:09 grexzen