-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Description:
I am experiencing difficulty using the Chainlit framework with Azure Blob Storage Emulator for local development. The current configuration options within the framework do not support the necessary setup for local development using the Azure Storage Emulator, resulting in authorization errors.
Steps to Reproduce:
- Clone the chainlite data-layer repository
- Configure environment as described on the readme under 'Try it locally'
- Try to upload a file in a chat
Expected Behavior:
Chainlit should initialize the Azure Blob Storage client using the provided connection string and interact with the local storage emulator without authorization errors.
Actual Behavior:
Using Chainlit with the default connection string configuration results in authorization errors. Adjusting the connection string protocol to http
and specifying the BlobEndpoint
resolves the issue, indicating the framework does not fully support local development configuration using azurite.
Proposed Solution:
Enhance Chainlit to support local development with Azure Blob Storage Emulator by allowing configuration of the protocol and endpoints through environment variables or initialization parameters. This would improve development and testing workflows.
Additional Context:
- Chainlit Version: 2.1.2
- Operating System: WSL (Ubuntu)
I appreciate your attention to this issue and look forward to a solution that accommodates local development scenarios.
Thank you for your support.
Best regards,
Corneel Van Moll