letta-nightly 0.6.7.dev20250108104013__py3-none-any.whl → 0.6.7.dev20250108225500__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 letta-nightly might be problematic. Click here for more details.

letta/client/client.py CHANGED
@@ -1031,9 +1031,10 @@ class RESTClient(AbstractClient):
1031
1031
  def create_block(
1032
1032
  self, label: str, value: str, limit: Optional[int] = None, template_name: Optional[str] = None, is_template: bool = False
1033
1033
  ) -> Block: #
1034
- request = CreateBlock(label=label, value=value, template=is_template, template_name=template_name)
1034
+ request_kwargs = dict(label=label, value=value, template=is_template, template_name=template_name)
1035
1035
  if limit:
1036
- request.limit = limit
1036
+ request_kwargs['limit'] = limit
1037
+ request = CreateBlock(**request_kwargs)
1037
1038
  response = requests.post(f"{self.base_url}/{self.api_prefix}/blocks", json=request.model_dump(), headers=self.headers)
1038
1039
  if response.status_code != 200:
1039
1040
  raise ValueError(f"Failed to create block: {response.text}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-nightly
3
- Version: 0.6.7.dev20250108104013
3
+ Version: 0.6.7.dev20250108225500
4
4
  Summary: Create LLM agents with long-term memory and custom tools
5
5
  License: Apache License
6
6
  Author: Letta Team
@@ -8,7 +8,7 @@ letta/cli/cli.py,sha256=_uGKM-RvGLGf7y8iWjkLgLTxIw7uWrdCdL5ETUOCkUs,16472
8
8
  letta/cli/cli_config.py,sha256=I5J8D0OpsDDXCTOWFqjmxQuZCGrC1oCuNbVkrKwg4VM,8544
9
9
  letta/cli/cli_load.py,sha256=xFw-CuzjChcIptaqQ1XpDROENt0JSjyPeiQ0nmEeO1k,2706
10
10
  letta/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- letta/client/client.py,sha256=gXtht3oVJAelexW4japVriN7Htc0mppuUwEf7a-dNiI,126954
11
+ letta/client/client.py,sha256=E98MdE-TEw_6FJKP1tLEv-HZ3pxlm9cUT2M3TUCSFt8,127012
12
12
  letta/client/streaming.py,sha256=Hz2j_hQZG2g7uhucjx2p3ybf2qjPT-vmIGCHGo87iCQ,4677
13
13
  letta/client/utils.py,sha256=VCGV-op5ZSmurd4yw7Vhf93XDQ0BkyBT8qsuV7EqfiU,2859
14
14
  letta/config.py,sha256=JFGY4TWW0Wm5fTbZamOwWqk5G8Nn-TXyhgByGoAqy2c,12375
@@ -226,8 +226,8 @@ letta/streaming_interface.py,sha256=lo2VAQRUJOdWTijwnXuKOC9uejqr2siUAEmZiQUXkj8,
226
226
  letta/streaming_utils.py,sha256=329fsvj1ZN0r0LpQtmMPZ2vSxkDBIUUwvGHZFkjm2I8,11745
227
227
  letta/system.py,sha256=buKYPqG5n2x41hVmWpu6JUpyd7vTWED9Km2_M7dLrvk,6960
228
228
  letta/utils.py,sha256=1-HhTZEw7j5fXI2ukdto0y1cZ-I8wpHKf7rqtdwFnT4,33382
229
- letta_nightly-0.6.7.dev20250108104013.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
230
- letta_nightly-0.6.7.dev20250108104013.dist-info/METADATA,sha256=PIPpcOf12W2qFNgyKEFe9437RVnXxo9wXR4nQcZtDd8,21693
231
- letta_nightly-0.6.7.dev20250108104013.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
232
- letta_nightly-0.6.7.dev20250108104013.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
233
- letta_nightly-0.6.7.dev20250108104013.dist-info/RECORD,,
229
+ letta_nightly-0.6.7.dev20250108225500.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
230
+ letta_nightly-0.6.7.dev20250108225500.dist-info/METADATA,sha256=-PxG_oeOmXOZHFSjtpqh-cWnqn13JP55luLC-IkEjfc,21693
231
+ letta_nightly-0.6.7.dev20250108225500.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
232
+ letta_nightly-0.6.7.dev20250108225500.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
233
+ letta_nightly-0.6.7.dev20250108225500.dist-info/RECORD,,