MCPcopy
hub / github.com/TanStack/ai / textResponse

Function textResponse

packages/ai-code-mode-skills/test-cli/mock-adapter.ts:187–189  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

185 * Helper to create a text-only response
186 */
187export function textResponse(content: string): MockResponse {
188 return { content }
189}
190
191/**
192 * Helper to create a tool call response

Callers 4

runSimulatedTestFunction · 0.90
runRegistryTestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected