chainlit 0.6.4__tar.gz → 0.6.401__tar.gz

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 (60) hide show
  1. {chainlit-0.6.4 → chainlit-0.6.401}/PKG-INFO +2 -2
  2. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/client/local.py +3 -0
  3. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/config.py +5 -0
  4. chainlit-0.6.4/chainlit/frontend/dist/assets/index-8a4873d1.js → chainlit-0.6.401/chainlit/frontend/dist/assets/index-69562d52.js +28 -28
  5. chainlit-0.6.4/chainlit/frontend/dist/assets/index-2dd0d162.js → chainlit-0.6.401/chainlit/frontend/dist/assets/index-ace9588d.js +1 -1
  6. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/frontend/dist/index.html +1 -1
  7. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/message.py +5 -1
  8. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/server.py +2 -1
  9. {chainlit-0.6.4 → chainlit-0.6.401}/pyproject.toml +2 -2
  10. {chainlit-0.6.4 → chainlit-0.6.401}/README.md +0 -0
  11. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/__init__.py +0 -0
  12. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/__main__.py +0 -0
  13. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/action.py +0 -0
  14. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/cache.py +0 -0
  15. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/chat_settings.py +0 -0
  16. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/cli/__init__.py +0 -0
  17. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/cli/auth.py +0 -0
  18. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/cli/deploy.py +0 -0
  19. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/cli/utils.py +0 -0
  20. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/client/base.py +0 -0
  21. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/client/cloud.py +0 -0
  22. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/client/utils.py +0 -0
  23. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/context.py +0 -0
  24. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/db/__init__.py +0 -0
  25. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/db/prisma/schema.prisma +0 -0
  26. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/element.py +0 -0
  27. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/emitter.py +0 -0
  28. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/frontend/dist/assets/index-a6e13df6.css +0 -0
  29. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/frontend/dist/assets/logo_dark-bc7401f6.svg +0 -0
  30. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/frontend/dist/assets/logo_light-f19fc2ea.svg +0 -0
  31. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/frontend/dist/favicon.svg +0 -0
  32. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/haystack/__init__.py +0 -0
  33. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/haystack/callbacks.py +0 -0
  34. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/hello.py +0 -0
  35. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/input_widget.py +0 -0
  36. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/langchain/__init__.py +0 -0
  37. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/langchain/callbacks.py +0 -0
  38. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/langflow/__init__.py +0 -0
  39. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/llama_index/__init__.py +0 -0
  40. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/llama_index/callbacks.py +0 -0
  41. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/logger.py +0 -0
  42. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/markdown.py +0 -0
  43. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/__init__.py +0 -0
  44. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/config.py +0 -0
  45. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/provider.py +0 -0
  46. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/providers/__init__.py +0 -0
  47. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/providers/anthropic.py +0 -0
  48. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/providers/huggingface.py +0 -0
  49. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/providers/langchain.py +0 -0
  50. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/playground/providers/openai.py +0 -0
  51. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/prompt.py +0 -0
  52. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/py.typed +0 -0
  53. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/session.py +0 -0
  54. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/socket.py +0 -0
  55. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/sync.py +0 -0
  56. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/telemetry.py +0 -0
  57. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/types.py +0 -0
  58. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/user_session.py +0 -0
  59. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/utils.py +0 -0
  60. {chainlit-0.6.4 → chainlit-0.6.401}/chainlit/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chainlit
3
- Version: 0.6.4
3
+ Version: 0.6.401
4
4
  Summary: A faster way to build chatbot UIs.
5
5
  Home-page: https://github.com/Chainlit/chainlit
6
6
  License: Apache-2.0 license
@@ -18,7 +18,7 @@ Requires-Dist: asyncer (>=0.0.2,<0.0.3)
18
18
  Requires-Dist: auth0-python (>=4.4.0,<5.0.0)
19
19
  Requires-Dist: click (>=8.1.3,<9.0.0)
20
20
  Requires-Dist: dataclasses_json (>=0.5.7,<0.6.0)
21
- Requires-Dist: fastapi (>=0.103.0,<0.104.0)
21
+ Requires-Dist: fastapi (>=0.99.0,<0.100.0)
22
22
  Requires-Dist: fastapi-socketio (>=0.0.10,<0.0.11)
23
23
  Requires-Dist: filetype (>=1.2.0,<2.0.0)
24
24
  Requires-Dist: lazify (>=0.4.0,<0.5.0)
@@ -39,6 +39,9 @@ class LocalDBClient(BaseDBClient):
39
39
  # Sqlite doesn't support list of primitives, so we need to serialize it.
40
40
  variables["forIds"] = json.dumps(variables["forIds"])
41
41
 
42
+ if "streaming" in variables:
43
+ del variables["streaming"]
44
+
42
45
  def after_read(self, variables: Dict):
43
46
  if "prompt" in variables:
44
47
  # Sqlite doesn't support json fields, so we need to parse it.
@@ -51,6 +51,9 @@ session_timeout = 3600
51
51
  # Enable third parties caching (e.g LangChain cache)
52
52
  cache = false
53
53
 
54
+ # Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
55
+ # follow_symlink = false
56
+
54
57
  # Chainlit server address
55
58
  # chainlit_server = ""
56
59
 
@@ -203,6 +206,8 @@ class ProjectSettings(DataClassJsonMixin):
203
206
  session_timeout: int = 3600
204
207
  # Enable third parties caching (e.g LangChain cache)
205
208
  cache: bool = False
209
+ # Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
210
+ follow_symlink: bool = False
206
211
  # Chainlit server address
207
212
  chainlit_server: Optional[str] = None
208
213