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

File api.codemode.ts

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

Source from the content-addressed store, hash-verified

1import { createFileRoute } from '@tanstack/react-router'
2import { chat, maxIterations, toServerSentEventsStream } from '@tanstack/ai'
3import { createCodeMode } from '@tanstack/ai-code-mode'
4import { anthropicText } from '@tanstack/ai-anthropic'

Callers

nothing calls this directly

Calls 9

chatFunction · 0.90
maxIterationsFunction · 0.90
toServerSentEventsStreamFunction · 0.90
jsonMethod · 0.80
nowMethod · 0.80
getAdapterFunction · 0.70
instrumentedStreamFunction · 0.70
getCodeModeToolsFunction · 0.70
errorMethod · 0.65

Tested by

no test coverage detected