letta-nightly 0.7.25.dev20250523215406__py3-none-any.whl → 0.7.26.dev20250524104104__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.
- letta/__init__.py +1 -1
- letta/agents/letta_agent_batch.py +4 -4
- {letta_nightly-0.7.25.dev20250523215406.dist-info → letta_nightly-0.7.26.dev20250524104104.dist-info}/METADATA +1 -1
- {letta_nightly-0.7.25.dev20250523215406.dist-info → letta_nightly-0.7.26.dev20250524104104.dist-info}/RECORD +7 -7
- {letta_nightly-0.7.25.dev20250523215406.dist-info → letta_nightly-0.7.26.dev20250524104104.dist-info}/LICENSE +0 -0
- {letta_nightly-0.7.25.dev20250523215406.dist-info → letta_nightly-0.7.26.dev20250524104104.dist-info}/WHEEL +0 -0
- {letta_nightly-0.7.25.dev20250523215406.dist-info → letta_nightly-0.7.26.dev20250524104104.dist-info}/entry_points.txt +0 -0
letta/__init__.py
CHANGED
@@ -386,15 +386,15 @@ class LettaAgentBatch(BaseAgent):
|
|
386
386
|
if updates:
|
387
387
|
await self.batch_manager.bulk_update_llm_batch_items_request_status_by_agent_async(updates=updates)
|
388
388
|
|
389
|
-
def _build_sandbox(self) -> Tuple[SandboxConfig, Dict[str, Any]]:
|
389
|
+
async def _build_sandbox(self) -> Tuple[SandboxConfig, Dict[str, Any]]:
|
390
390
|
sbx_type = SandboxType.E2B if tool_settings.e2b_api_key else SandboxType.LOCAL
|
391
|
-
cfg = self.sandbox_config_manager.
|
392
|
-
env = self.sandbox_config_manager.
|
391
|
+
cfg = await self.sandbox_config_manager.get_or_create_default_sandbox_config_async(sandbox_type=sbx_type, actor=self.actor)
|
392
|
+
env = await self.sandbox_config_manager.get_sandbox_env_vars_as_dict_async(cfg.id, actor=self.actor, limit=100)
|
393
393
|
return cfg, env
|
394
394
|
|
395
395
|
@trace_method
|
396
396
|
async def _execute_tools(self, ctx: _ResumeContext) -> Sequence[Tuple[str, Tuple[str, bool]]]:
|
397
|
-
sbx_cfg, sbx_env = self._build_sandbox()
|
397
|
+
sbx_cfg, sbx_env = await self._build_sandbox()
|
398
398
|
rethink_memory_tool_name = "rethink_memory"
|
399
399
|
tool_params = []
|
400
400
|
# TODO: This is a special case - we need to think about how to generalize this
|
@@ -1,4 +1,4 @@
|
|
1
|
-
letta/__init__.py,sha256=
|
1
|
+
letta/__init__.py,sha256=MoDbEcp8dbwvj7Q_9O7orGwE_etIduysExAAirD9BsU,888
|
2
2
|
letta/agent.py,sha256=2r6xovRHeUnmWZ6WJoIP217ryse5Q3Bkco1JXiV599w,87459
|
3
3
|
letta/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
letta/agents/base_agent.py,sha256=mdFEpYBVyFjmt6BzO9YrpJnH99RkBWZ9gnP3Q_bnbBI,5505
|
@@ -6,7 +6,7 @@ letta/agents/ephemeral_agent.py,sha256=el-SUF_16vv_7OouIR-6z0pAE9Yc0PLibygvfCKwq
|
|
6
6
|
letta/agents/exceptions.py,sha256=BQY4D4w32OYHM63CM19ko7dPwZiAzUs3NbKvzmCTcJg,318
|
7
7
|
letta/agents/helpers.py,sha256=nwmgbtxAANwUsuwZqU4SFiQ3Kc_ULk78H76Z_K6I-ZQ,6127
|
8
8
|
letta/agents/letta_agent.py,sha256=OyshUQQ0IdhS0KM6pyRMUsrMPzwjZAKsmZnJN2hPmKc,32673
|
9
|
-
letta/agents/letta_agent_batch.py,sha256=
|
9
|
+
letta/agents/letta_agent_batch.py,sha256=AvFXKbogSRYjW7xpSHgEXqRmTlRFKyTVKk8nwhUCMcU,27274
|
10
10
|
letta/agents/voice_agent.py,sha256=bZX31bsf3290zuuElx93JnAoKHVoiLRuBiYhQh2aGSc,21462
|
11
11
|
letta/agents/voice_sleeptime_agent.py,sha256=gB44pOeIQJer_XqdxSNt7Txv0JaQAv9pzsiEFO9GYdY,7346
|
12
12
|
letta/cli/cli.py,sha256=tKtghlX36Rp0_HbkMosvlAapL07JXhA0vKLGTNKnxSQ,1615
|
@@ -346,8 +346,8 @@ letta/system.py,sha256=mKxmvvekuP8mdgsebRINGBoFbUdJhxLJ260crPBNVyk,8386
|
|
346
346
|
letta/tracing.py,sha256=YMb9KgoBVz7nwCPwnErk2EJEKMiQ_ohctW1nOwhHd1Y,8458
|
347
347
|
letta/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
348
348
|
letta/utils.py,sha256=W8J1FfhRADFqoyx3J8-Z1_aWyG433PBoEh_b5wdOZIg,32262
|
349
|
-
letta_nightly-0.7.
|
350
|
-
letta_nightly-0.7.
|
351
|
-
letta_nightly-0.7.
|
352
|
-
letta_nightly-0.7.
|
353
|
-
letta_nightly-0.7.
|
349
|
+
letta_nightly-0.7.26.dev20250524104104.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
|
350
|
+
letta_nightly-0.7.26.dev20250524104104.dist-info/METADATA,sha256=75cpumTuxUfGQlIsycKYGuba1qXnCGidpJ0sfSdhLKs,22321
|
351
|
+
letta_nightly-0.7.26.dev20250524104104.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
352
|
+
letta_nightly-0.7.26.dev20250524104104.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
|
353
|
+
letta_nightly-0.7.26.dev20250524104104.dist-info/RECORD,,
|
File without changes
|
File without changes
|