From 15808c64730bd0d2906ba1698f5b34dc71fc2d05 Mon Sep 17 00:00:00 2001 From: wuyiqunLu Date: Thu, 19 Sep 2024 12:02:07 +0800 Subject: [PATCH] adddress comment --- vision_agent/tools/meta_tools.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vision_agent/tools/meta_tools.py b/vision_agent/tools/meta_tools.py index 14e49cbf..9012e9d4 100644 --- a/vision_agent/tools/meta_tools.py +++ b/vision_agent/tools/meta_tools.py @@ -211,6 +211,18 @@ def create_code_artifact(artifacts: Artifacts, name: str) -> str: return_str = f"[Artifact {name} created]" print(return_str) + display( + { + MimeType.APPLICATION_ARTIFACT: json.dumps( + { + "name": name, + "content": artifacts[name], + "action": "create", + } + ) + }, + raw=True, + ) return return_str