fix: preserve Pi projection continuity
This commit is contained in:
42
tests/fixtures/pi-0.84.2-projector-fixtures.ts
vendored
42
tests/fixtures/pi-0.84.2-projector-fixtures.ts
vendored
@@ -121,3 +121,45 @@ export const PI_084_TEXT_TURN = {
|
||||
tokens: { input: 12, output: 4, cacheRead: 2, cacheWrite: 0, total: 18 },
|
||||
},
|
||||
} as const;
|
||||
|
||||
export const PI_084_AUTO_RETRY_FAILURE_EVENTS = [
|
||||
{
|
||||
type: 'auto_retry_start',
|
||||
attempt: 3,
|
||||
maxAttempts: 3,
|
||||
delayMs: 1000,
|
||||
errorMessage: 'sensitive provider retry detail',
|
||||
},
|
||||
{
|
||||
type: 'auto_retry_end',
|
||||
success: false,
|
||||
attempt: 3,
|
||||
finalError: 'sensitive final provider detail',
|
||||
},
|
||||
{ type: 'agent_settled' },
|
||||
] as const;
|
||||
|
||||
export const PI_084_SUMMARIZATION_RETRY_FAILURE_EVENTS = [
|
||||
{ type: 'compaction_start', reason: 'threshold' },
|
||||
{
|
||||
type: 'summarization_retry_scheduled',
|
||||
attempt: 1,
|
||||
maxAttempts: 2,
|
||||
delayMs: 500,
|
||||
errorMessage: 'sensitive summary provider detail',
|
||||
},
|
||||
{
|
||||
type: 'summarization_retry_attempt_start',
|
||||
source: 'compaction',
|
||||
reason: 'threshold',
|
||||
},
|
||||
{ type: 'summarization_retry_finished' },
|
||||
{
|
||||
type: 'compaction_end',
|
||||
reason: 'threshold',
|
||||
aborted: false,
|
||||
willRetry: false,
|
||||
errorMessage: 'sensitive exhausted summary detail',
|
||||
},
|
||||
{ type: 'agent_settled' },
|
||||
] as const;
|
||||
|
||||
Reference in New Issue
Block a user