fix: Change enum to fix composio tests (#2488)
This commit is contained in:
@@ -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__)
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user