Skip to content

Commit

Permalink
better parsing for json
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Oct 16, 2024
1 parent 04c57f9 commit 5fa377e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vision_agent/tools/meta_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,10 @@ def _extract_file_names(
{str(existing_names)}
Return the file paths in the following JSON format:
{{"png": ["image_name1.png", "other_image_name.png"], "mp4": ["video_name.mp4"]}}"""
```json
{{"png": ["image_name1.png", "other_image_name.png"], "mp4": ["video_name.mp4"]}}
```
"""
)
)
except json.JSONDecodeError:
Expand Down

0 comments on commit 5fa377e

Please sign in to comment.