mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-30 14:52:36 +00:00
style: fix ruff format line length in conditional
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -175,7 +175,9 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):
|
||||
else self.stop
|
||||
)
|
||||
)
|
||||
if merged_stop != (existing_stop if isinstance(existing_stop, list) else []):
|
||||
if merged_stop != (
|
||||
existing_stop if isinstance(existing_stop, list) else []
|
||||
):
|
||||
self.llm = copy.copy(self.llm)
|
||||
self.llm.stop = merged_stop
|
||||
|
||||
|
||||
@@ -269,7 +269,9 @@ class AgentExecutor(Flow[AgentExecutorState], CrewAgentExecutorMixin):
|
||||
else self.stop
|
||||
)
|
||||
)
|
||||
if merged_stop != (existing_stop if isinstance(existing_stop, list) else []):
|
||||
if merged_stop != (
|
||||
existing_stop if isinstance(existing_stop, list) else []
|
||||
):
|
||||
self.llm = copy.copy(self.llm)
|
||||
self.llm.stop = merged_stop
|
||||
self._state = AgentExecutorState()
|
||||
|
||||
Reference in New Issue
Block a user