Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TanStack/ai
/ getMessages
Method
getMessages
packages/ai-client/src/chat-client.ts:1375–1377 ·
view source on GitHub ↗
* Get current messages
()
Source
from the content-addressed store, hash-verified
1373
* Get current messages
1374
*/
1375
getMessages(): Array<UIMessage<TTools>> {
1376
return
this.processor.getMessages() as Array<UIMessage<TTools>>
1377
}
1378
1379
/**
1380
* Get loading state
Callers
15
injectChat
Function · 0.95
useChat
Function · 0.95
createChat
Function · 0.95
useChat
Function · 0.45
constructor
Method · 0.45
mountDevtools
Method · 0.45
buildDevtoolsBridgeOptions
Method · 0.45
getDevtoolsSnapshot
Method · 0.45
findMessageIdForToolCall
Method · 0.45
append
Method · 0.45
streamResponse
Method · 0.45
reload
Method · 0.45
Calls
no outgoing calls
Tested by
2
findToolCallPart
Function · 0.36
findToolResultPart
Function · 0.36