Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(rpc): read the agent chat controllers in the catalog drift guard

M3gA-Mind21d5ac8028eb
diff --git a/app/src/services/__tests__/rpcMethods.test.ts b/app/src/services/__tests__/rpcMethods.test.ts
index 70199e8d38..4f70d0fe49 100644
--- a/app/src/services/__tests__/rpcMethods.test.ts
+++ b/app/src/services/__tests__/rpcMethods.test.ts
@@ -212,6 +212,8 @@ describe('rpcMethods catalog', () => {
// Agent chat is owned by agent_runs; core/all.rs composes these host-side
// controllers into the inference capability group.
readWithParts('../../../../crates/openhuman-core/src/agent_runs/schemas.rs'),
+ // `inference_agent_chat` / `_simple` are declared next to their handlers.
+ readWithParts('../../../../crates/openhuman-core/src/agent_runs/agent_chat/controllers.rs'),
// The MCP registry split its schemas module into a directory. Controller
// definitions (and therefore the mcp_clients literals this guard owns)
// live in `registry.rs`; keep this path explicit so another move fails