diff --git a/letta/schemas/letta_response.py b/letta/schemas/letta_response.py index c6a1e8be..5c600272 100644 --- a/letta/schemas/letta_response.py +++ b/letta/schemas/letta_response.py @@ -47,7 +47,7 @@ class LettaResponse(BaseModel): return f'
{html.escape(msg.function_call.name)}({args})
' elif msg.message_type == "tool_call_message": args = format_json(msg.tool_call.arguments) - return f'
{html.escape(msg.function_call.name)}({args})
' + return f'
{html.escape(msg.tool_call.name)}({args})
' elif msg.message_type == "function_return": return_value = format_json(msg.function_return) # return f'
Status: {html.escape(msg.status)}
{return_value}
'