fmt(js): npm run fix on merge (#82962)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-08-10 05:40:43 +00:00
committed by GitHub
parent 327f7efab8
commit e400dca96e
2 changed files with 2 additions and 14 deletions
+1 -8
View File
@@ -333,14 +333,7 @@ describe('toChatMessages', () => {
}
])
expect(messages.map(message => message.role)).toEqual([
'user',
'assistant',
'system',
'system',
'system',
'system'
])
expect(messages.map(message => message.role)).toEqual(['user', 'assistant', 'system', 'system', 'system', 'system'])
expect(messages.map(chatMessageText)).toEqual([
'real user turn',
'real assistant reply',
+1 -6
View File
@@ -556,12 +556,7 @@ export interface SessionMessage {
reasoning_content?: null | string
reasoning_details?: unknown
display_kind?:
| 'async_delegation_complete'
| 'auto_continue'
| 'hidden'
| 'model_switch'
| 'personality_switch'
| string
'async_delegation_complete' | 'auto_continue' | 'hidden' | 'model_switch' | 'personality_switch' | string
/**
* A backend older than this app can still serve this as unparsed JSON text,
* so readers must narrow before indexing into it.