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

Function createAdapter

packages/ai-openrouter/tests/image-adapter.test.ts:21–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19})
20
21const createAdapter = () =>
22 createOpenRouterImage('google/gemini-2.5-flash-image', 'test-key')
23
24function createMockImageResponse(images: Array<{ url: string }>) {
25 return {

Callers 1

Calls 1

createOpenRouterImageFunction · 0.90

Tested by

no test coverage detected