MCPcopy
hub / github.com/dataelement/Clawith / make_agent

Function make_agent

backend/tests/test_files_api.py:23–33  ·  view source on GitHub ↗
(creator_id: uuid.UUID, **overrides)

Source from the content-addressed store, hash-verified

21
22
23def make_agent(creator_id: uuid.UUID, **overrides):
24 values = {
25 "id": uuid.uuid4(),
26 "name": "Ops Bot",
27 "role_description": "assistant",
28 "creator_id": creator_id,
29 "status": "idle",
30 "agent_type": "native",
31 }
32 values.update(overrides)
33 return Agent(**values)
34
35
36@pytest.mark.asyncio

Calls 2

AgentClass · 0.90
updateMethod · 0.80

Tested by

no test coverage detected