Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
const
createAdapter = () =>
26
createOpenRouterText(
'openai/gpt-4o-mini'
,
'test-key'
)
27
28
function
createAsyncIterable<T>(chunks: Array<T>): AsyncIterable<T> {
29
return
{
Callers
1
usage-extraction.test.ts
File · 0.70
Calls
1
createOpenRouterText
Function · 0.90
Tested by
no test coverage detected