Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELETE not work in a non-local server #63

Open
codemee opened this issue Jul 17, 2023 · 7 comments
Open

DELETE not work in a non-local server #63

codemee opened this issue Jul 17, 2023 · 7 comments

Comments

@codemee
Copy link

codemee commented Jul 17, 2023

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

@that-one-arab
Copy link

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

@codemee
Copy link
Author

codemee commented Jul 29, 2023

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

@that-one-arab
Copy link

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

@codemee
Copy link
Author

codemee commented Jul 29, 2023

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

@saad-malik-codes
Copy link

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.

@codemee
Copy link
Author

codemee commented Aug 11, 2023 via email

@grexzen
Copy link

grexzen commented Sep 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants