One issue I’m running into when developing Chat Plugins is refreshing ai-plugin.json with changes. It seems like it eventually refreshes, but it’s really unpredictable and doesn’t seem to refresh simply by reinstalling your localhost plugin.
This is particularly frustrating when I’m trying to troubleshoot description_for_model property within ai-plugin.json. This seems like a particularly important field for controlling the plugin and I really want to experiment with using it in different ways. The delay and unpredictability in refreshing the file really slows down development.
Wondering if anyone has experienced this or has some techniques or trouble-shooting tips to solve this issue.
I’m afraid that doesn’t seem to work, at least not right away. I update description_for_model, completely uninstall the plugin, and reinstall it and it’s the same old ai-plugin.json - the old one seems to be cached by ChatGPT. I see that it never actually makes a call to my API to /.well-known/ai-plugin.json, it just makes a call to the openapi.json doc.
same issue here. Did you ever find a resolution? Seems like https://chat.openai.com/backend-api/ caches for a while and does not update when I want it to
No, never did find a resolution. ai-plugin.json eventually changes of course, but there always seems to be a significant delay that you can’t control. For now I’ve just landed on a fairly reasonably-seeming ai-plugin.json and have given up on quickly iterating / optimizing it
No there’s no cacheing happening on my end / no cache control headers. Running my API on localhost, I can see that ChatGPT is simply not requesting ai-plugin.json, even when reinstalling the plugin. Perhaps it would if I reinstalled it on a different localhost port - haven’t tried that.