Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.86k stars 903 forks source link

Enables Copilot to send cookies when calling Chainlit server #1339

Open mattgartman opened 2 weeks ago

mattgartman commented 2 weeks ago

Enables the Copilot functionality to send cookies with requests to the Chainlit server. This allows support for cookie based sticky sessions.

Since withCredentials does not work when a server sets a wildcard CORS origin policy, this update exposes an operational parameter for users needing cookies to be sent with requests.

This PR addresses #1279.