comet-ml / opik

Open-source end-to-end LLM Development Platform
Apache License 2.0
2.12k stars 132 forks source link

[OPIK-136] CORS support #498

Closed idoberko2 closed 2 weeks ago

idoberko2 commented 2 weeks ago

Details

This PR adds CORS headers to responses when the proper configuration (cors.enabled) is set. This configuration defaults to true.

Issues

OPIK-136

Testing

A couple of tests were added: for the config enabled and disabled.