Skip to content

Commit

Permalink
adddress comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiqunLu committed Sep 19, 2024
1 parent 1c208cb commit 15808c6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vision_agent/tools/meta_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 15808c6

Please sign in to comment.