mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-22 04:17:05 +00:00
feat(web): make session header metadata configurable (#1267)
* feat(web): make session header metadata configurable * fix(web): align mobile header metadata priority
This commit is contained in:
@@ -18,6 +18,11 @@ describe('codexStatusLabels', () => {
|
||||
expect(formatCodexReasoningLabel('Ultra')).toBe('reasoning ultra')
|
||||
})
|
||||
|
||||
it('can omit the reasoning field label', () => {
|
||||
expect(formatCodexReasoningLabel('xhigh', false)).toBe('xhigh')
|
||||
expect(formatCodexReasoningLabel(null, false)).toBe('default')
|
||||
})
|
||||
|
||||
it('formats compact effort-only labels', () => {
|
||||
expect(formatCompactCodexReasoningLabel(null)).toBe('default')
|
||||
expect(formatCompactCodexReasoningLabel('default')).toBe('default')
|
||||
|
||||
Reference in New Issue
Block a user