chainlit 1.0.501__tar.gz → 1.0.502__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 (65) hide show
  1. {chainlit-1.0.501 → chainlit-1.0.502}/PKG-INFO +1 -1
  2. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/socket.py +3 -0
  3. {chainlit-1.0.501 → chainlit-1.0.502}/pyproject.toml +1 -1
  4. {chainlit-1.0.501 → chainlit-1.0.502}/README.md +0 -0
  5. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/__init__.py +0 -0
  6. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/__main__.py +0 -0
  7. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/action.py +0 -0
  8. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/auth.py +0 -0
  9. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/cache.py +0 -0
  10. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/chat_settings.py +0 -0
  11. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/cli/__init__.py +0 -0
  12. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/cli/utils.py +0 -0
  13. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/config.py +0 -0
  14. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/context.py +0 -0
  15. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/copilot/dist/assets/logo_dark-2a3cf740.svg +0 -0
  16. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/copilot/dist/assets/logo_light-b078e7bc.svg +0 -0
  17. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/copilot/dist/index.js +0 -0
  18. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/data/__init__.py +0 -0
  19. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/data/acl.py +0 -0
  20. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/element.py +0 -0
  21. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/emitter.py +0 -0
  22. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/assets/index-d088547c.css +0 -0
  23. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/assets/index-e306c2e5.js +0 -0
  24. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/assets/logo_dark-2a3cf740.svg +0 -0
  25. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/assets/logo_light-b078e7bc.svg +0 -0
  26. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/assets/react-plotly-cc656f1c.js +0 -0
  27. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/favicon.svg +0 -0
  28. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/frontend/dist/index.html +0 -0
  29. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/haystack/__init__.py +0 -0
  30. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/haystack/callbacks.py +0 -0
  31. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/hello.py +0 -0
  32. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/input_widget.py +0 -0
  33. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/langchain/__init__.py +0 -0
  34. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/langchain/callbacks.py +0 -0
  35. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/langflow/__init__.py +0 -0
  36. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/llama_index/__init__.py +0 -0
  37. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/llama_index/callbacks.py +0 -0
  38. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/logger.py +0 -0
  39. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/markdown.py +0 -0
  40. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/message.py +0 -0
  41. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/oauth_providers.py +0 -0
  42. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/openai/__init__.py +0 -0
  43. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/__init__.py +0 -0
  44. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/config.py +0 -0
  45. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/provider.py +0 -0
  46. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/providers/__init__.py +0 -0
  47. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/providers/anthropic.py +0 -0
  48. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/providers/huggingface.py +0 -0
  49. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/providers/langchain.py +0 -0
  50. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/providers/openai.py +0 -0
  51. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/playground/providers/vertexai.py +0 -0
  52. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/py.typed +0 -0
  53. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/secret.py +0 -0
  54. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/server.py +0 -0
  55. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/session.py +0 -0
  56. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/step.py +0 -0
  57. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/sync.py +0 -0
  58. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/telemetry.py +0 -0
  59. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/translations/en-US.json +0 -0
  60. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/translations.py +0 -0
  61. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/types.py +0 -0
  62. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/user.py +0 -0
  63. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/user_session.py +0 -0
  64. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/utils.py +0 -0
  65. {chainlit-1.0.501 → chainlit-1.0.502}/chainlit/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chainlit
3
- Version: 1.0.501
3
+ Version: 1.0.502
4
4
  Summary: Build Conversational AI.
5
5
  Home-page: https://github.com/Chainlit/chainlit
6
6
  License: Apache-2.0 license
@@ -276,6 +276,9 @@ async def call_action(sid, action):
276
276
  action = Action(**action)
277
277
 
278
278
  try:
279
+ if not context.session.has_first_interaction:
280
+ context.session.has_first_interaction = True
281
+ asyncio.create_task(context.emitter.init_thread(action.name))
279
282
  res = await process_action(action)
280
283
  await context.emitter.send_action_response(
281
284
  id=action.id, status=True, response=res if isinstance(res, str) else None
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "chainlit"
3
- version = "1.0.501"
3
+ version = "1.0.502"
4
4
  keywords = ['LLM', 'Agents', 'gen ai', 'chat ui', 'chatbot ui', 'openai', 'copilot', 'langchain', 'conversational ai']
5
5
  description = "Build Conversational AI."
6
6
  authors = ["Chainlit"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes