MCPcopy Create free account
hub / github.com/TanStack/ai / createAdapter

Function createAdapter

packages/ai-openrouter/tests/usage-extraction.test.ts:25–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23})
24
25const createAdapter = () =>
26 createOpenRouterText('openai/gpt-4o-mini', 'test-key')
27
28function createAsyncIterable<T>(chunks: Array<T>): AsyncIterable<T> {
29 return {

Callers 1

Calls 1

createOpenRouterTextFunction · 0.90

Tested by

no test coverage detected