This commit is contained in:
Timothy Jaeryang Baek 2025-09-18 22:03:14 -05:00
parent a5d8882bba
commit 7be5b7f50f

View file

@ -2426,13 +2426,15 @@ async def process_chat_response(
tool_result_embeds.append(tool_result)
tool_result = {
"status": "success",
"message": "Displayed as embed",
"code": "ui_component",
"message": "Embedded UI result is active and visible to the user.",
}
elif location:
tool_result_embeds.append(location)
tool_result = {
"status": "success",
"message": "Displayed as embed",
"code": "ui_component",
"message": "Embedded UI result is active and visible to the user.",
}
tool_result_files = []