MCPcopy Index your code
hub / github.com/TanStack/ai / api.product-codemode.ts

File api.product-codemode.ts

examples/ts-code-mode-web/src/routes/_home/api.product-codemode.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { resolve } from 'node:path'
2import { fileURLToPath } from 'node:url'
3import { createFileRoute } from '@tanstack/react-router'
4import { chat, maxIterations, toServerSentEventsStream } from '@tanstack/ai'

Callers

nothing calls this directly

Calls 14

createFileSkillStorageFunction · 0.90
chatFunction · 0.90
maxIterationsFunction · 0.90
maxTokensModelOptionsFunction · 0.90
toServerSentEventsStreamFunction · 0.90
jsonMethod · 0.80
getAdapterFunction · 0.70
instrumentAdapterFunction · 0.70
getCodeModeToolsFunction · 0.70
getSkillToolsAndPromptFunction · 0.70
getSkillManagementToolsFunction · 0.70

Tested by

no test coverage detected