fix linter

This commit is contained in:
João Moura
2024-12-27 10:56:18 -03:00
parent 2eda5fdeed
commit d56db9f34f

View File

@@ -20,10 +20,9 @@ class AddImageTool(BaseTool):
def _run(
self,
image_url: str,
action: str = None,
action: str = "Please provide a detailed description of this image, including all visual elements, context, and any notable details you can observe.",
**kwargs,
) -> dict:
action = action or "Please provide a detailed description of this image, including all visual elements, context, and any notable details you can observe."
content = [
{"type": "text", "text": action},
{