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( def _run(
self, self,
image_url: str, 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, **kwargs,
) -> dict: ) -> 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 = [ content = [
{"type": "text", "text": action}, {"type": "text", "text": action},
{ {