MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / kickoff

Function kickoff

lib/cli/tests/test_create_agent.py:261–266  ·  view source on GitHub ↗
(self: Agent, **kwargs: Any)

Source from the content-addressed store, hash-verified

259 received = []
260
261 async def kickoff(self: Agent, **kwargs: Any) -> Any:
262 from types import SimpleNamespace
263
264 assert self.role == "General-purpose AI agent"
265 received.append(kwargs["messages"])
266 return SimpleNamespace(raw="finished")
267
268 monkeypatch.setattr(Agent, "kickoff_async", kickoff)
269 run_agent(json.dumps({"messages": messages}))

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected