chainlit 1.0.505__py3-none-any.whl → 1.0.506__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.

@@ -22,7 +22,7 @@
22
22
  <script>
23
23
  const global = globalThis;
24
24
  </script>
25
- <script type="module" crossorigin src="/assets/index-d200e7ad.js"></script>
25
+ <script type="module" crossorigin src="/assets/index-d4233b49.js"></script>
26
26
  <link rel="stylesheet" href="/assets/index-d088547c.css">
27
27
  </head>
28
28
  <body>
chainlit/input_widget.py CHANGED
@@ -127,6 +127,7 @@ class TextInput(InputWidget):
127
127
  type: InputWidgetType = "textinput"
128
128
  initial: Optional[str] = None
129
129
  placeholder: Optional[str] = None
130
+ multiline: bool = False
130
131
 
131
132
  def to_dict(self) -> Dict[str, Any]:
132
133
  return {
@@ -137,6 +138,7 @@ class TextInput(InputWidget):
137
138
  "placeholder": self.placeholder,
138
139
  "tooltip": self.tooltip,
139
140
  "description": self.description,
141
+ "multiline": self.multiline,
140
142
  }
141
143
 
142
144
 
chainlit/server.py CHANGED
@@ -54,7 +54,6 @@ from fastapi import (
54
54
  UploadFile,
55
55
  status,
56
56
  )
57
- from fastapi.middleware.gzip import GZipMiddleware
58
57
  from fastapi.responses import FileResponse, HTMLResponse, JSONResponse, RedirectResponse
59
58
  from fastapi.security import OAuth2PasswordRequestForm
60
59
  from fastapi.staticfiles import StaticFiles
@@ -188,8 +187,6 @@ app.add_middleware(
188
187
  allow_headers=["*"],
189
188
  )
190
189
 
191
- app.add_middleware(GZipMiddleware)
192
-
193
190
  socket = SocketManager(
194
191
  app,
195
192
  cors_allowed_origins=[],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chainlit
3
- Version: 1.0.505
3
+ Version: 1.0.506
4
4
  Summary: Build Conversational AI.
5
5
  Home-page: https://github.com/Chainlit/chainlit
6
6
  License: Apache-2.0 license
@@ -22,7 +22,7 @@ Requires-Dist: fastapi-socketio (>=0.0.10,<0.0.11)
22
22
  Requires-Dist: filetype (>=1.2.0,<2.0.0)
23
23
  Requires-Dist: httpx (>=0.23.0)
24
24
  Requires-Dist: lazify (>=0.4.0,<0.5.0)
25
- Requires-Dist: literalai (==0.0.507)
25
+ Requires-Dist: literalai (==0.0.509)
26
26
  Requires-Dist: nest-asyncio (>=1.5.6,<2.0.0)
27
27
  Requires-Dist: packaging (>=23.1,<24.0)
28
28
  Requires-Dist: pydantic (>=1,<3)
@@ -10,7 +10,7 @@ chainlit/config.py,sha256=BH1YHdb7AMVCZzicN2-_bVFxqFxx6WeJanuabevIudo,15211
10
10
  chainlit/context.py,sha256=CecWdRuRCTr4jfXlOiU3Mh41j3B-p40c1jC7mhToVzk,2476
11
11
  chainlit/copilot/dist/assets/logo_dark-2a3cf740.svg,sha256=Kjz3QMh-oh-ag4YatjU0YCPqGF7F8nHh8VUQoJIs01E,8887
12
12
  chainlit/copilot/dist/assets/logo_light-b078e7bc.svg,sha256=sHjnvEq1rfqh3bcexJNYUY7WEDdTQZq3aKZYpi4w4ck,8889
13
- chainlit/copilot/dist/index.js,sha256=uexumeV5f43gVDofU-96FO0oul6XaZyMfz0g8ALtmlM,7016549
13
+ chainlit/copilot/dist/index.js,sha256=LEm2hlz5HomrOYgNxw6gknjFZug-vPuj0zvrmZHM_HQ,7016616
14
14
  chainlit/data/__init__.py,sha256=oV4oRS9W3Yq4eyWQmxdfe3weN4S5XzoiyQo2U6Hkn78,16408
15
15
  chainlit/data/acl.py,sha256=hx7Othkx12EitonyZD4iFIRVHwxBmBY2TKdwjPuZMSo,461
16
16
  chainlit/data/sql_alchemy.py,sha256=7lSRR90MFkZAKX3FgRvj8lO1304irPI7x1rWeS6ZFcY,25867
@@ -18,16 +18,16 @@ chainlit/data/storage_clients.py,sha256=D9KY1XKDjZh2uuh01ECxeoEtjw-JlrCR-WCuOueP
18
18
  chainlit/element.py,sha256=K5-yxiO2E0ZMRARKcXCNPnxsDKeLcBsXiZ5L-CGNp0A,10162
19
19
  chainlit/emitter.py,sha256=JK9aQ6qbaY1G0eqwshMcLFS6T198LwZ7soXXQOFNvT4,12688
20
20
  chainlit/frontend/dist/assets/index-d088547c.css,sha256=0IhUfCm_IY1kjvlTR2edW1qKXAFDya3LZ6mnZnP6ovk,6605
21
- chainlit/frontend/dist/assets/index-d200e7ad.js,sha256=P4UpOBfxf0USRsqgTlpm_s1vgUiCLXuxX0YaHqrgPGM,3073876
21
+ chainlit/frontend/dist/assets/index-d4233b49.js,sha256=Hdn8483Y7q-k-5ObLn5uWLlKgt9XDjLD7OW3FIWaxBY,3073946
22
22
  chainlit/frontend/dist/assets/logo_dark-2a3cf740.svg,sha256=Kjz3QMh-oh-ag4YatjU0YCPqGF7F8nHh8VUQoJIs01E,8887
23
23
  chainlit/frontend/dist/assets/logo_light-b078e7bc.svg,sha256=sHjnvEq1rfqh3bcexJNYUY7WEDdTQZq3aKZYpi4w4ck,8889
24
- chainlit/frontend/dist/assets/react-plotly-10f4012e.js,sha256=ca9rlaKgMXi6TIMVfZVruS3biLS35obabzarJxRdk3w,3763471
24
+ chainlit/frontend/dist/assets/react-plotly-2b7fa4f9.js,sha256=IKXm-9EIapI6h5einR8vIOjLFxF7wgBzv9EPBfkQ_YE,3763471
25
25
  chainlit/frontend/dist/favicon.svg,sha256=0Cy8x28obT5eWW3nxZRhsEvu6_zMqrqbg0y6hT3D0Q0,6455
26
- chainlit/frontend/dist/index.html,sha256=aUXd6qLUiHMPc9v2Lm4dyC83wVWvutapsN9oV8pf9ZI,1005
26
+ chainlit/frontend/dist/index.html,sha256=C5SexNiNeSnodJLNaFDfF9cgHJpfqFY6kWRu27rQAHM,1005
27
27
  chainlit/haystack/__init__.py,sha256=uZ77YiPy-qleSTi3dQCDO9HE6S6F6GpJWmh7jO4cxXA,217
28
28
  chainlit/haystack/callbacks.py,sha256=tItLc6OmskPeDEJH2Qjtg7KgAgIy1TuYQYHTZm9cr3U,5209
29
29
  chainlit/hello.py,sha256=LwENQWo5s5r8nNDn4iKSV77vX60Ky5r_qGjQhyi7qlY,416
30
- chainlit/input_widget.py,sha256=1Z1qn3YwaZ7upqqxZXtbfDxBlVobDjbZ3HtlNOj-U3E,4880
30
+ chainlit/input_widget.py,sha256=KmOn1nPTBvnld3iIBHR0Vih0KsCxVnTbo2t_xBNANzo,4949
31
31
  chainlit/langchain/__init__.py,sha256=zErMw0_3ufSGeF9ye7X0ZX3wDat4mTOx97T40ePDO2g,217
32
32
  chainlit/langchain/callbacks.py,sha256=bABLMuLx0h-It0zfB9tqcSeCAu_-uxMLgm2gPIGb4VY,20484
33
33
  chainlit/langflow/__init__.py,sha256=wxhxdsl1yxdsRyNTgZticxFF_8VFtJJ4OdIy3tnEIyM,817
@@ -49,7 +49,7 @@ chainlit/playground/providers/openai.py,sha256=9aDSgXVW3sW-gaybBBWMIE8cJPyk9ZuGv
49
49
  chainlit/playground/providers/vertexai.py,sha256=zKy501f-MHnLrvuRzN50FqgB3xoHzfQFTVbw83Nsj20,5084
50
50
  chainlit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  chainlit/secret.py,sha256=cQvIFGTQ7r2heC8EOGdgifSZZYqslh-qQxhUhKhD8vU,295
52
- chainlit/server.py,sha256=uhSAB3DdBmtuNnov2dFevdY_x_Pxa0148K16ut0uLEM,23856
52
+ chainlit/server.py,sha256=m4tiyAJlZwj-NSsA4abWryjeiPlm13Qf_qIHNyIlvxc,23769
53
53
  chainlit/session.py,sha256=zive8e9ZZggHoU6VQpS40fMIKwvmhI6p_pEO_S5slis,8963
54
54
  chainlit/socket.py,sha256=tTKbOwcoDffTedQAHjb9tMX2I-pDiXF0pkJmAd26eTk,10145
55
55
  chainlit/step.py,sha256=JdXVqG73d9kNtHJjLhmfo1mqkCYtgqfF3jm08uGaCMs,13102
@@ -62,7 +62,7 @@ chainlit/user.py,sha256=Cw4uGz0ffivWFszv8W__EHwkvTHQ3Lj9hqpRCPxFujo,619
62
62
  chainlit/user_session.py,sha256=BOpkDC7cxjmkCVS9QOBMMAQiQlhQ2iar7LnzuNI8Nfk,1430
63
63
  chainlit/utils.py,sha256=3HzhfZ4XJhBIe9sJ_3Lxv3lMH4mFXsi6nLBGqm8Gtdw,2571
64
64
  chainlit/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
65
- chainlit-1.0.505.dist-info/METADATA,sha256=V2robReLxXrHKYkkvoAl6jreJHzKFSHbN0loW3YMcGs,5560
66
- chainlit-1.0.505.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
- chainlit-1.0.505.dist-info/entry_points.txt,sha256=FrkqdjrFl8juSnvBndniyX7XuKojmUwO4ghRh-CFMQc,45
68
- chainlit-1.0.505.dist-info/RECORD,,
65
+ chainlit-1.0.506.dist-info/METADATA,sha256=2Mbmv1ezQZ87oAqD9D5XftYR7V9LIcq_LvTFX54LvnM,5560
66
+ chainlit-1.0.506.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
+ chainlit-1.0.506.dist-info/entry_points.txt,sha256=FrkqdjrFl8juSnvBndniyX7XuKojmUwO4ghRh-CFMQc,45
68
+ chainlit-1.0.506.dist-info/RECORD,,