waldiez 0.1.0__py3-none-any.whl → 0.1.1__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 waldiez might be problematic. Click here for more details.

waldiez/_version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Version information for Waldiez."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.1.1"
@@ -28,8 +28,11 @@ def _get_chroma_client_string(agent: WaldiezRagUser) -> Tuple[str, str]:
28
28
  agent.retrieve_config.db_config.use_local_storage
29
29
  and agent.retrieve_config.db_config.local_storage_path is not None
30
30
  ):
31
+ # on windows, we get:
32
+ # SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes
33
+ # in position 2-3: truncated \UXXXXXXXX escape
31
34
  local_path = Path(agent.retrieve_config.db_config.local_storage_path)
32
- client_str += f'PersistentClient(path="{local_path}")'
35
+ client_str += f'PersistentClient(path=r"{local_path}")'
33
36
  else:
34
37
  client_str += "Client()"
35
38
  return client_str, to_import
@@ -30,7 +30,7 @@ def _get_qdrant_client_string(agent: WaldiezRagUser) -> Tuple[str, str]:
30
30
  and agent.retrieve_config.db_config.local_storage_path
31
31
  ):
32
32
  local_path = Path(agent.retrieve_config.db_config.local_storage_path)
33
- client_str += f'location="{local_path}")'
33
+ client_str += f'location=r"{local_path}")'
34
34
  elif agent.retrieve_config.db_config.connection_url:
35
35
  client_str += (
36
36
  f'location="{agent.retrieve_config.db_config.connection_url}")'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: waldiez
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: waldiez
5
5
  Project-URL: homepage, https://waldiez.github.io/py/
6
6
  Project-URL: repository, https://github.com/waldiez/py.git
@@ -74,11 +74,11 @@ Description-Content-Type: text/markdown
74
74
 
75
75
  # Waldiez
76
76
 
77
- ![CI Build](https://github.com/waldiez/py/actions/workflows/main.yaml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/waldiez/py/badge.svg)](https://coveralls.io/github/waldiez/py)
77
+ ![CI Build](https://github.com/waldiez/py/actions/workflows/main.yaml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/waldiez/py/badge.svg)](https://coveralls.io/github/waldiez/py) [![PyPI version](https://badge.fury.io/py/waldiez.svg)](https://badge.fury.io/py/waldiez)
78
78
 
79
79
  Translate a Waldiez flow:
80
80
 
81
- [![Flow](./docs/flow.png)](./docs/flow.png)
81
+ ![Flow](https://raw.githubusercontent.com/waldiez/py/refs/heads/main/docs/flow.png)
82
82
 
83
83
  To a python script or a jupyter notebook with the corresponding [autogen](https://github.com/microsoft/autogen/) agents and chats.
84
84
 
@@ -91,14 +91,13 @@ To a python script or a jupyter notebook with the corresponding [autogen](https:
91
91
 
92
92
  ## Installation
93
93
 
94
- <!--
95
94
  On PyPI:
96
95
 
97
96
  ```bash
98
97
  python -m pip install waldiez
99
- ``` -->
98
+ ```
100
99
 
101
- From this repository:
100
+ From the repository:
102
101
 
103
102
  ```bash
104
103
  python -m pip install git+https://github.com/waldiez/py.git
@@ -1,6 +1,6 @@
1
1
  waldiez/__init__.py,sha256=pX6lHj8fNlfqCpHEfF6MNQBCR6qRjFYjwBSOCoxrlwk,313
2
2
  waldiez/__main__.py,sha256=9xR-F2ohZcRPDG6KrM7cJpXciKX-u6WdL221ckyJ04k,112
3
- waldiez/_version.py,sha256=saqwbVgZYlUXO-iC6EOQxQDymeoLbPuCmDNC4OXKzto,62
3
+ waldiez/_version.py,sha256=NaHCBZ_FA_IeC0AG1CRQOBiDXIjN52ox7DFAhwpRyd0,62
4
4
  waldiez/cli.py,sha256=vIQDqs9XBOlDpshq7rNgvoTcnnkeZrsXa_51gMWs6H4,4690
5
5
  waldiez/exporter.py,sha256=iKe-l_Me8NRWsXHIdBcrOrnLT9XIyp4iYi4HLuuj2jA,9342
6
6
  waldiez/io_stream.py,sha256=YczhIw0PKEsxCSY6tAqElCqOUh8b-aEkSIGC1JjXxAs,5877
@@ -16,10 +16,10 @@ waldiez/exporting/agents/llm_config.py,sha256=A88e-RKp09r8n9MG11hArpITzxK8nVrTZ6
16
16
  waldiez/exporting/agents/teachability.py,sha256=ame4hHJCZRBp7hAQGZzv2Cjs6QtcV9vlQ1zheMEMac0,1103
17
17
  waldiez/exporting/agents/termination_message.py,sha256=tzI4-tcveYKBVx5PsznQZwAoghSX3mbn_vPu4rX8tuU,1276
18
18
  waldiez/exporting/agents/rag_user/__init__.py,sha256=01F4gwgUwtSpZbGXcfieqIuLNT64u9KiqMIB2f0mplI,196
19
- waldiez/exporting/agents/rag_user/chroma_utils.py,sha256=Xtx3bWL25MnioFhXZNyW3t-K8CS32Zw_c54l185QbDg,4466
19
+ waldiez/exporting/agents/rag_user/chroma_utils.py,sha256=jBncfPsepTzgSo9wxyeLFEVvmoWDpIC-dJCpyqRQvx4,4632
20
20
  waldiez/exporting/agents/rag_user/mongo_utils.py,sha256=y5IL-Anfktg9cYo2o-ED1A7lwHQWdVMWD_W1AT5_RmE,2664
21
21
  waldiez/exporting/agents/rag_user/pgvector_utils.py,sha256=EyGDwvo1Pe8bqoJl3NFpqK6zizN81lPPaSMBMQF79Dc,2722
22
- waldiez/exporting/agents/rag_user/qdrant_utils.py,sha256=vVPGIt-L2Z6z7S4RPBK5LYkJtv1sCscPHsWl_VrcPGQ,3486
22
+ waldiez/exporting/agents/rag_user/qdrant_utils.py,sha256=tn1A7pjQjJfGS33ALgnPYTz7xu8rVBidcc5-WHLq8e8,3487
23
23
  waldiez/exporting/agents/rag_user/rag_user.py,sha256=omBmT6mQR2fSMo003GVckqUpAaI6mWRpVRqCqFpKJRg,5294
24
24
  waldiez/exporting/agents/rag_user/vector_db.py,sha256=64Gr_y1VTZLXi1pC4KjChsZ6DTX7cxdkDRQI3Ty_H-U,3659
25
25
  waldiez/exporting/chats/__init__.py,sha256=v5aR1gWqSN5xeDDMIFo-ceC_Z9UgL8qJZofC2sU8HqQ,296
@@ -87,8 +87,8 @@ waldiez/stream/__init__.py,sha256=6qst5j2iXmV-wDTnhgCna3llqUfJ6tkR0HBq7Vx9x-Q,19
87
87
  waldiez/stream/consumer.py,sha256=VQDJEomYpGjmAtOoFBJrpCyoYzwykJUIOrdiLn08Uj4,4049
88
88
  waldiez/stream/provider.py,sha256=JqnnR1yAimfK4HxW4gr4HIoJ15Ly71kXn75mv7FZBmw,9478
89
89
  waldiez/stream/server.py,sha256=Ya4AKP5Wr_xAsbG3Q-qShqHmfIyamj9LGXizJsL-N4Y,11815
90
- waldiez-0.1.0.dist-info/METADATA,sha256=8AhAe15WIsHbkCGqft3VJsm4jTWlFGYg2ncPPty7798,6626
91
- waldiez-0.1.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
92
- waldiez-0.1.0.dist-info/entry_points.txt,sha256=5Po4yQXPa_QEdtTevpEBgr3rGoIvDMeQuJR2zqwBLBo,45
93
- waldiez-0.1.0.dist-info/licenses/LICENSE,sha256=VQEHM6WMQLRu1qaGl3GWsoOknDwro-69eGo4NLIJPIM,1064
94
- waldiez-0.1.0.dist-info/RECORD,,
90
+ waldiez-0.1.1.dist-info/METADATA,sha256=ryA8mM8Qtx9n9EigDrJspBcjMCOXr6waWvYeJktw1b4,6745
91
+ waldiez-0.1.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
92
+ waldiez-0.1.1.dist-info/entry_points.txt,sha256=5Po4yQXPa_QEdtTevpEBgr3rGoIvDMeQuJR2zqwBLBo,45
93
+ waldiez-0.1.1.dist-info/licenses/LICENSE,sha256=VQEHM6WMQLRu1qaGl3GWsoOknDwro-69eGo4NLIJPIM,1064
94
+ waldiez-0.1.1.dist-info/RECORD,,