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

Function make_agent

backend/tests/test_agent_delete_api.py:126–136  ·  view source on GitHub ↗
(creator_id: uuid.UUID, **overrides)

Source from the content-addressed store, hash-verified

124
125
126def make_agent(creator_id: uuid.UUID, **overrides):
127 values = {
128 "id": uuid.uuid4(),
129 "name": "Ops Bot",
130 "role_description": "assistant",
131 "creator_id": creator_id,
132 "status": "idle",
133 "agent_type": "native",
134 }
135 values.update(overrides)
136 return Agent(**values)
137
138
139@pytest.mark.asyncio

Calls 2

AgentClass · 0.90
updateMethod · 0.80

Tested by

no test coverage detected