KX Dashboards Chat Bot: API error 401: CORS requests are not allowed

Getting this error despite having a paid (Enterprise) API key for anthropic. I have tried using a local proxy as the URL, but same result.

AI to fix wants to heavily modify nlx-proxy.js

There must be an easier way? Running on KDB-X.

Thanks,

Declan