Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/ai
/ chat-client-context.test.ts
File
chat-client-context.test.ts
packages/ai-client/tests/chat-client-context.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
{ toolDefinition } from
'@tanstack/ai'
3
import
{ z } from
'zod'
4
import
{ ChatClient } from
'../src/chat-client'
Callers
nothing calls this directly
Calls
11
createToolCallChunks
Function · 0.90
createTextChunks
Function · 0.90
toolDefinition
Function · 0.90
findToolResultPart
Function · 0.85
parse
Method · 0.80
setMessagesManually
Method · 0.80
findToolCallPart
Function · 0.70
sendMessage
Method · 0.65
push
Method · 0.45
updateOptions
Method · 0.45
addToolResult
Method · 0.45
Tested by
no test coverage detected