Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions agents/e2e/base2-free-summary-format.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ describe('Base2-Free Summary Format Compliance', () => {
})
const runStateWithMessages = withMessageHistory({
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
Expand Down Expand Up @@ -461,6 +462,7 @@ describe('Base2-Free Summary Format Compliance', () => {
})
const runStateWithMessages = withMessageHistory({
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
Expand Down
12 changes: 10 additions & 2 deletions agents/e2e/context-pruner.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ Do not do anything else. Just spawn context-pruner and then report the result.`,
// Create initial session state with the large message history
const sessionState = await initialSessionState({})
const runStateWithMessages = withMessageHistory({
runState: { sessionState, output: { type: 'error', message: '' } },
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
messages: initialMessages,
})

Expand Down Expand Up @@ -277,7 +281,11 @@ Do not do anything else. Just spawn context-pruner and then report the result.`,

const sessionState = await initialSessionState({})
const runStateWithMessages = withMessageHistory({
runState: { sessionState, output: { type: 'error', message: '' } },
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
messages: initialMessages,
})

Expand Down
19 changes: 16 additions & 3 deletions agents/e2e/context-pruning-threshold.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,11 @@ describe('Context Pruning Threshold E2E', () => {

const sessionState = await initialSessionState({})
const runStateWithMessages = withMessageHistory({
runState: { sessionState, output: { type: 'error', message: '' } },
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
messages,
})

Expand Down Expand Up @@ -398,7 +402,11 @@ describe('Context Pruning Threshold E2E', () => {

const sessionState = await initialSessionState({})
const runStateWithMessages = withMessageHistory({
runState: { sessionState, output: { type: 'error', message: '' } },
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
messages,
})

Expand Down Expand Up @@ -494,6 +502,7 @@ describe('Context Pruning Threshold E2E', () => {
const sessionStateCal = await initialSessionState({})
const runStateCal = withMessageHistory({
runState: {
traceSessionId: 'test-trace-session',
sessionState: sessionStateCal,
output: { type: 'error', message: '' },
},
Expand Down Expand Up @@ -544,7 +553,11 @@ describe('Context Pruning Threshold E2E', () => {
// =========================================================================
const sessionState = await initialSessionState({})
const runStateWithMessages = withMessageHistory({
runState: { sessionState, output: { type: 'error', message: '' } },
runState: {
traceSessionId: 'test-trace-session',
sessionState,
output: { type: 'error', message: '' },
},
messages,
})

Expand Down
Loading
Loading