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:
committed by
GitHub
parent
327f7efab8
commit
e400dca96e
@@ -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',
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user