test(cliproxy): stabilize thinking override assertion

This commit is contained in:
Tam Nhu Tran
2026-02-14 09:01:01 +07:00
parent f9df3cfa7a
commit d28fb2cdbd
@@ -67,6 +67,8 @@ describe('buildClaudeEnvironment - composite remote routing', () => {
thinkingOverride: 'high',
});
expect(env.ANTHROPIC_MODEL).toContain('(high)');
expect(env.ANTHROPIC_MODEL).toContain('gemini');
// Gemini thinking overrides may be normalized to numeric budgets, and [1m] may be auto-appended.
expect(env.ANTHROPIC_MODEL).toMatch(/\([^)]+\)(\[1m\])?$/);
});
});