mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-05 06:59:23 +00:00
Fix type-ignore placement in add_image_tool.py
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -17,8 +17,8 @@ class AddImageTool(BaseTool):
|
||||
"""Tool for adding images to the content"""
|
||||
|
||||
name: str = Field(
|
||||
default_factory=lambda: get_crew_i18n().tools("add_image")["name"]
|
||||
) # type: ignore[index]
|
||||
default_factory=lambda: get_crew_i18n().tools("add_image")["name"] # type: ignore[index]
|
||||
)
|
||||
description: str = Field(
|
||||
default_factory=lambda: get_crew_i18n().tools("add_image")["description"] # type: ignore[index]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user