mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
fix linter
This commit is contained in:
@@ -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},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user