We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f94f2 commit dac5d6dCopy full SHA for dac5d6d
1 file changed
src/crewai/agent.py
@@ -174,7 +174,7 @@ class Agent(BaseAgent):
174
)
175
176
@model_validator(mode="before")
177
- def validate_from_repository(cls, v): # noqa: N805
+ def validate_from_repository(cls, v): # noqa: N805
178
if v is not None and (from_repository := v.get("from_repository")):
179
return load_agent_from_repository(from_repository) | v
180
return v
@@ -702,7 +702,7 @@ def _validate_docker_installation(self) -> None:
702
703
try:
704
subprocess.run(
705
- ["/usr/bin/docker", "info"],
+ ["docker", "info"], # noqa: S607
706
check=True,
707
stdout=subprocess.PIPE,
708
stderr=subprocess.PIPE,
0 commit comments