fix: Change enum to fix composio tests (#2488)

This commit is contained in:
Matthew Zhou
2025-05-28 10:24:22 -07:00
committed by GitHub
parent dba4cc9ea0
commit 7debadb3b9
3 changed files with 1 additions and 3 deletions

View File

@@ -38,7 +38,6 @@ from letta.schemas.letta_message_content import ReasoningContent, RedactedReason
from letta.schemas.message import Message
from letta.schemas.openai.chat_completion_response import FunctionCall, ToolCall
from letta.server.rest_api.json_parser import JSONParser, PydanticJSONParser
from letta.tracing import trace_method
logger = get_logger(__name__)

View File

@@ -12,7 +12,6 @@ from letta.schemas.message import Message
from letta.schemas.openai.chat_completion_response import FunctionCall, ToolCall
from letta.server.rest_api.json_parser import OptimisticJSONParser
from letta.streaming_utils import JSONInnerThoughtsExtractor
from letta.tracing import trace_method
class OpenAIStreamingInterface:

View File

@@ -289,7 +289,7 @@ def test_composio_tool_schema_generation(openai_model: str, structured_output: b
action_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
]