Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: add vertex async loop feature flag (#2060)
cthomas5c0bb5e4dd6a
diff --git a/letta/functions/async_composio_toolset.py b/letta/functions/async_composio_toolset.pyindex 5ebd385f8..f240721e0 100644--- a/letta/functions/async_composio_toolset.py+++ b/letta/functions/async_composio_toolset.py@@ -98,7 +98,7 @@ class AsyncComposioToolSet(BaseComposioToolSet, runtime="letta"):except aiohttp.ClientError as e:# Wrap network errors in ComposioSDKErrorraise ComposioSDKError(f"Network error when calling Composio API: {str(e)}")- except ValueError as e:+ except ValueError:# Re-raise ValueError (which could be our custom error message or a JSON parsing error)raiseexcept Exception as e:diff --git a/letta/settings.py b/letta/settings.pyindex a3149ac9b..81551bacb 100644--- a/letta/settings.py+++ b/letta/settings.py@@ -196,6 +196,7 @@ class Settings(BaseSettings):# experimental toggleuse_experimental: bool = Falseuse_vertex_structured_outputs_experimental: bool = False+ use_vertex_async_loop_experimental: bool = False# LLM provider client settingshttpx_max_retries: int = 5