chainlit 1.1.401__py3-none-any.whl → 1.1.403rc0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of chainlit might be problematic. Click here for more details.

Files changed (27) hide show
  1. chainlit/cli/__init__.py +2 -4
  2. chainlit/copilot/dist/index.js +2 -2
  3. chainlit/frontend/dist/assets/{DailyMotion-43d85492.js → DailyMotion-dd3d0f11.js} +1 -1
  4. chainlit/frontend/dist/assets/{Facebook-6a04b850.js → Facebook-53a09094.js} +1 -1
  5. chainlit/frontend/dist/assets/{FilePlayer-fb9f99cd.js → FilePlayer-7fd97f72.js} +1 -1
  6. chainlit/frontend/dist/assets/{Kaltura-169c6632.js → Kaltura-127ca0f7.js} +1 -1
  7. chainlit/frontend/dist/assets/{Mixcloud-b8fb3f23.js → Mixcloud-14459c9d.js} +1 -1
  8. chainlit/frontend/dist/assets/{Mux-988b7afc.js → Mux-913f2511.js} +1 -1
  9. chainlit/frontend/dist/assets/{Preview-a63aa60e.js → Preview-cb48c96c.js} +1 -1
  10. chainlit/frontend/dist/assets/{SoundCloud-c736deeb.js → SoundCloud-f416790b.js} +1 -1
  11. chainlit/frontend/dist/assets/{Streamable-b26e619e.js → Streamable-304738e0.js} +1 -1
  12. chainlit/frontend/dist/assets/{Twitch-ddffc17f.js → Twitch-0fdf7e43.js} +1 -1
  13. chainlit/frontend/dist/assets/{Vidyard-8ef8b6d3.js → Vidyard-0fb7aefe.js} +1 -1
  14. chainlit/frontend/dist/assets/{Vimeo-2cbc8a27.js → Vimeo-10a415ff.js} +1 -1
  15. chainlit/frontend/dist/assets/{Wistia-e54183b6.js → Wistia-7239a75e.js} +1 -1
  16. chainlit/frontend/dist/assets/{YouTube-9e388229.js → YouTube-f2b37e5e.js} +1 -1
  17. chainlit/frontend/dist/assets/{index-df419486.js → index-b8952cd9.js} +75 -75
  18. chainlit/frontend/dist/assets/{react-plotly-66ae619a.js → react-plotly-cae83415.js} +1 -1
  19. chainlit/frontend/dist/index.html +1 -1
  20. chainlit/langchain/callbacks.py +7 -6
  21. chainlit/server.py +8 -5
  22. chainlit/user.py +3 -1
  23. chainlit/utils.py +1 -1
  24. {chainlit-1.1.401.dist-info → chainlit-1.1.403rc0.dist-info}/METADATA +3 -3
  25. {chainlit-1.1.401.dist-info → chainlit-1.1.403rc0.dist-info}/RECORD +27 -27
  26. {chainlit-1.1.401.dist-info → chainlit-1.1.403rc0.dist-info}/WHEEL +0 -0
  27. {chainlit-1.1.401.dist-info → chainlit-1.1.403rc0.dist-info}/entry_points.txt +0 -0
chainlit/cli/__init__.py CHANGED
@@ -34,7 +34,7 @@ def cli():
34
34
 
35
35
  # Define the function to run Chainlit with provided options
36
36
  def run_chainlit(target: str):
37
- from chainlit.server import combined_asgi_app as app
37
+ from chainlit.server import app
38
38
 
39
39
  host = os.environ.get("CHAINLIT_HOST", DEFAULT_HOST)
40
40
  port = int(os.environ.get("CHAINLIT_PORT", DEFAULT_PORT))
@@ -52,9 +52,7 @@ def run_chainlit(target: str):
52
52
  "yes",
53
53
  ] # Convert to boolean
54
54
 
55
- ws_protocol = os.environ.get(
56
- "UVICORN_WS_PROTOCOL", "auto"
57
- )
55
+ ws_protocol = os.environ.get("UVICORN_WS_PROTOCOL", "auto")
58
56
 
59
57
  config.run.host = host
60
58
  config.run.port = port