MCPcopy Create free account
hub / github.com/coder/coder / countAgents

Function countAgents

site/src/pages/WorkspacePage/Workspace.tsx:258–260  ·  view source on GitHub ↗
(resource: TypesGen.WorkspaceResource)

Source from the content-addressed store, hash-verified

256};
257
258const countAgents = (resource: TypesGen.WorkspaceResource) => {
259 return resource.agents ? resource.agents.length : 0;
260};

Callers 1

WorkspaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected