feat(core): persist subagent agentId in tool call records (#25092)

This commit is contained in:
Abhi
2026-04-10 12:47:25 -04:00
committed by GitHub
parent f6c08a114b
commit 7d1de3bccc
6 changed files with 43 additions and 2 deletions
@@ -79,6 +79,7 @@ describe('LocalSubagentInvocation', () => {
mockExecutorInstance = {
run: vi.fn(),
definition: testDefinition,
agentId: 'test-agent-id',
} as unknown as Mocked<LocalAgentExecutor<z.ZodUnknown>>;
MockLocalAgentExecutor.create.mockResolvedValue(