chainlit
chainlit copied to clipboard
Get access to headers and other request data in Chainlit code
Dear Chainlit team, could you tell, is there a way to get request headers in Chainlit code? (for example, in FastAPI it is possible to get access to the request data) Specifically, I would like to get the URL which user uses when works with my app. For example, my app can be accessed over two different URLs: bot1.example.com and bot2.example.com. I want to differentiate users by the URL they use.
Unfortunately, I didn't find any information about that in docs.