codeburn/tests/provider-parse-versions.test.ts
Resham Joshi f6e0aa2fc3 test: pin the droid, qwen and hermes parse-version bumps
Each bump is what makes cached sessions re-parse under a pricing fix, and
nothing else fails if one is reverted.
2026-11-06 05:53:13 -08:00

12 lines
553 B
TypeScript

import { describe, expect, it } from 'vitest'
import { PROVIDER_PARSE_VERSIONS } from '../src/session-cache.js'
describe('provider parse versions', () => {
it('carry the bumps that re-parse cached sessions after pricing-rule fixes', () => {
expect(PROVIDER_PARSE_VERSIONS['droid']).toContain('model-minor-version-v1')
expect(PROVIDER_PARSE_VERSIONS['qwen']).toContain('cached-prompt-v1')
expect(PROVIDER_PARSE_VERSIONS['qwen']).toContain('output-thoughts-v1')
expect(PROVIDER_PARSE_VERSIONS['hermes']).toContain('ledger-v4')
})
})