The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
import { describe, expect, it } from 'vitest'
import {
DEFAULT_REASONING_EFFORT,
isReasoningEffort,
REASONING_EFFORT_VALUES,
REASONING_EFFORTS
} from './reasoning-effort'
describe('reasoning-effort', () => {
it('is one duplicate-free value set with `none` as the only non-level', () => {
expect(new Set(REASONING_EFFORT_VALUES).size).toBe(REASONING_EFFORT_VALUES.length)
expect(REASONING_EFFORT_VALUES.filter(v => !isReasoningEffort(v))).toEqual(['none'])
})
it('defaults to a real level and recognizes it case-insensitively', () => {
expect(REASONING_EFFORTS).toContain(DEFAULT_REASONING_EFFORT)
expect(isReasoningEffort(DEFAULT_REASONING_EFFORT.toUpperCase())).toBe(true)
})
})