Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: Change enum to fix composio tests (#2488)
Matthew Zhou7debadb3b9e5
diff --git a/letta/interfaces/anthropic_streaming_interface.py b/letta/interfaces/anthropic_streaming_interface.pyindex 70cb249f5..3d9c24da2 100644--- a/letta/interfaces/anthropic_streaming_interface.py+++ b/letta/interfaces/anthropic_streaming_interface.py@@ -38,7 +38,6 @@ from letta.schemas.letta_message_content import ReasoningContent, RedactedReasonfrom letta.schemas.message import Messagefrom letta.schemas.openai.chat_completion_response import FunctionCall, ToolCallfrom letta.server.rest_api.json_parser import JSONParser, PydanticJSONParser-from letta.tracing import trace_methodlogger = get_logger(__name__)diff --git a/letta/interfaces/openai_streaming_interface.py b/letta/interfaces/openai_streaming_interface.pyindex 13c31087c..86397ad88 100644--- a/letta/interfaces/openai_streaming_interface.py+++ b/letta/interfaces/openai_streaming_interface.py@@ -12,7 +12,6 @@ from letta.schemas.message import Messagefrom letta.schemas.openai.chat_completion_response import FunctionCall, ToolCallfrom letta.server.rest_api.json_parser import OptimisticJSONParserfrom letta.streaming_utils import JSONInnerThoughtsExtractor-from letta.tracing import trace_methodclass OpenAIStreamingInterface:diff --git a/tests/test_tool_schema_parsing.py b/tests/test_tool_schema_parsing.pyindex 8273eb8fd..08ad8052a 100644--- a/tests/test_tool_schema_parsing.py+++ b/tests/test_tool_schema_parsing.py@@ -289,7 +289,7 @@ def test_composio_tool_schema_generation(openai_model: str, structured_output: baction_names = ["GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER", # Simple"CAL_GET_AVAILABLE_SLOTS_INFO", # has an array arg, needs to be converted properly- "SALESFORCE_RETRIEVE_LEAD_DETAILS_BY_ID_WITH_CONDITIONAL_SUPPORT",+ "SALESFORCE_RETRIEVE_LEAD_BY_ID",# has an array arg, needs to be converted properly]