Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/ai
/ message-converters.test.ts
File
message-converters.test.ts
packages/ai/tests/message-converters.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'vitest'
2
import
{
3
convertMessagesToModelMessages,
4
modelMessageToUIMessage,
Callers
nothing calls this directly
Calls
6
uiMessageToModelMessages
Function · 0.90
modelMessageToUIMessage
Function · 0.90
modelMessagesToUIMessages
Function · 0.90
convertMessagesToModelMessages
Function · 0.90
normalizeToUIMessage
Function · 0.90
parse
Method · 0.80
Tested by
no test coverage detected