MCPcopy
hub / github.com/kagent-dev/kagent / getAgentHarnessBackend

Function getAgentHarnessBackend

ui/src/lib/agentHarness.ts:31–34  ·  view source on GitHub ↗
(item: AgentResponse)

Source from the content-addressed store, hash-verified

29 * Other AgentHarness backends are not classified here.
30 */
31export function getAgentHarnessBackend(item: AgentResponse): AgentHarnessBackend | undefined {
32 const backend = item.substrateAgentHarness?.backend;
33 return isAgentHarnessBackend(backend) ? backend : undefined;
34}
35
36/** True when the agents-list row is an agent harness. */
37export function isAgentHarness(item: AgentResponse): boolean {

Callers 5

AgentCardFunction · 0.90
RowTypeCellFunction · 0.90
rowTypeSortKeyFunction · 0.90
AgentListRowFunction · 0.90
isAgentHarnessFunction · 0.85

Calls 1

isAgentHarnessBackendFunction · 0.85

Tested by

no test coverage detected