Skip to content

Commit 100f55f

Browse files
committed
fix: add missing AgentState properties to test mock
1 parent a6bbe78 commit 100f55f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/agent-runtime/src/templates/__tests__/strings.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ const createMockAgentState = (agentType: string): AgentState => ({
5656
ancestorRunIds: [],
5757
contextTokenCount: 0,
5858
agentContext: {},
59+
subagents: [],
60+
systemPrompt: '',
61+
toolDefinitions: {},
5962
})
6063

6164
const createMockAgentTemplate = (

0 commit comments

Comments
 (0)