letta-nightly 0.6.8.dev20250109104059__py3-none-any.whl → 0.6.8.dev20250109190338__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
@@ -433,12 +433,10 @@ class RESTClient(AbstractClient):
433
433
  self._default_llm_config = default_llm_config
434
434
  self._default_embedding_config = default_embedding_config
435
435
 
436
- def list_agents(self, tags: Optional[List[str]] = None) -> List[AgentState]:
437
- params = {}
436
+ def list_agents(self, tags: Optional[List[str]] = None, match_all_tags: bool = False) -> List[AgentState]:
437
+ params = {"match_all_tags": match_all_tags}
438
438
  if tags:
439
439
  params["tags"] = tags
440
- params["match_all_tags"] = False
441
-
442
440
  response = requests.get(f"{self.base_url}/{self.api_prefix}/agents", headers=self.headers, params=params)
443
441
  return [AgentState(**agent) for agent in response.json()]
444
442
 
@@ -2040,10 +2038,10 @@ class LocalClient(AbstractClient):
2040
2038
  self.organization = self.server.get_organization_or_default(self.org_id)
2041
2039
 
2042
2040
  # agents
2043
- def list_agents(self, tags: Optional[List[str]] = None) -> List[AgentState]:
2041
+ def list_agents(self, tags: Optional[List[str]] = None, match_all_tags: bool = False) -> List[AgentState]:
2044
2042
  self.interface.clear()
2045
2043
 
2046
- return self.server.agent_manager.list_agents(actor=self.user, tags=tags)
2044
+ return self.server.agent_manager.list_agents(actor=self.user, tags=tags, match_all_tags=match_all_tags)
2047
2045
 
2048
2046
  def agent_exists(self, agent_id: Optional[str] = None, agent_name: Optional[str] = None) -> bool:
2049
2047
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-nightly
3
- Version: 0.6.8.dev20250109104059
3
+ Version: 0.6.8.dev20250109190338
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=pdCcfsimPKrY3QFbLBLV8V1PNf3pkicAIgN_mfTSCWs,127021
11
+ letta/client/client.py,sha256=oOwifm06z0bVpHnv3yR4o-tMQxD0C7_p41luQ5r-C5E,127098
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
@@ -229,8 +229,8 @@ letta/streaming_interface.py,sha256=lo2VAQRUJOdWTijwnXuKOC9uejqr2siUAEmZiQUXkj8,
229
229
  letta/streaming_utils.py,sha256=329fsvj1ZN0r0LpQtmMPZ2vSxkDBIUUwvGHZFkjm2I8,11745
230
230
  letta/system.py,sha256=buKYPqG5n2x41hVmWpu6JUpyd7vTWED9Km2_M7dLrvk,6960
231
231
  letta/utils.py,sha256=1-HhTZEw7j5fXI2ukdto0y1cZ-I8wpHKf7rqtdwFnT4,33382
232
- letta_nightly-0.6.8.dev20250109104059.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
233
- letta_nightly-0.6.8.dev20250109104059.dist-info/METADATA,sha256=GiFSF6JEq0wGuNpMMsfrbA5v07zeyTxZlwXu67xP3C4,21694
234
- letta_nightly-0.6.8.dev20250109104059.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
235
- letta_nightly-0.6.8.dev20250109104059.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
236
- letta_nightly-0.6.8.dev20250109104059.dist-info/RECORD,,
232
+ letta_nightly-0.6.8.dev20250109190338.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
233
+ letta_nightly-0.6.8.dev20250109190338.dist-info/METADATA,sha256=Z0lYQCI8v7CwxhU6orGxV8i5prE2iVKofvRAUcJq58A,21694
234
+ letta_nightly-0.6.8.dev20250109190338.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
235
+ letta_nightly-0.6.8.dev20250109190338.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
236
+ letta_nightly-0.6.8.dev20250109190338.dist-info/RECORD,,