Skip to content

Commit

Permalink
translate texts
Browse files Browse the repository at this point in the history
  • Loading branch information
William Bilibio committed Dec 26, 2024
1 parent df4a1f8 commit 5160198
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ class SequentialCrewComponent(BaseCrewComponent):

@property
def agents(self: 'SequentialCrewComponent') -> list[Agent]:

Check failure on line 21 in src/backend/base/langflow/components/crewai/sequential_crew.py

View workflow job for this annotation

GitHub Actions / Ruff Style Check (3.12)

Ruff (Q000)

src/backend/base/langflow/components/crewai/sequential_crew.py:21:22: Q000 Single quotes found but double quotes preferred
# Deriva os agentes diretamente das tarefas vinculadas
# Derive agents directly from linked tasks
return [task.agent for task in self.tasks if hasattr(task, 'agent')]

Check failure on line 23 in src/backend/base/langflow/components/crewai/sequential_crew.py

View workflow job for this annotation

GitHub Actions / Ruff Style Check (3.12)

Ruff (Q000)

src/backend/base/langflow/components/crewai/sequential_crew.py:23:68: Q000 Single quotes found but double quotes preferred

def get_tasks_and_agents(self, agents_list=None) -> tuple[list[Task], list[Agent]]:
# Usa a propriedade agents para derivar agentes
# Use the agents property to derive agents
if not agents_list:
existing_agents = self.agents
agents_list = existing_agents + (agents_list or [])
Expand Down

0 comments on commit 5160198

Please sign in to comment.