Hello!
If you are hosting your plugin files on Django on localhost you need to add CORS to Django but specifically in the settings file you need to include the following headers:
CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOW_HEADERS = list(default_headers) + [
‘baggage’,
‘openai-conversation-id’,
‘openai-ephemeral-user-id’,
‘sentry-trace’
]
This will fix the CORS errors and let your plugin work