Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Update definitions.py

Abi Raja5384860e24e4
diff --git a/backend/agent/tools/definitions.py b/backend/agent/tools/definitions.py
index 1fb8fffc..d4d8a1da 100644
--- a/backend/agent/tools/definitions.py
+++ b/backend/agent/tools/definitions.py
@@ -195,7 +195,7 @@ def canonical_tool_definitions(
CanonicalToolDefinition(
name="generate_images",
description=(
- "Generate image URLs from prompts. Use to replace placeholder images. "
+ "Generate image URLs from prompts using an image generation model. Prompt in detail, and when prompting for people, include details about their appearance such as their ethnicity, hair color, features, etc." +
"You can pass multiple prompts at once."
),
parameters=_image_schema(),