MCPcopy Index your code
hub / github.com/TanStack/ai / getAdapter

Function getAdapter

packages/ai-code-mode-skills/test-cli/adapters.ts:121–123  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

119 * Get adapter definition by ID
120 */
121export function getAdapter(id: string): AdapterDefinition | undefined {
122 return ADAPTERS.find((a) => a.id.toLowerCase() === id.toLowerCase())
123}
124
125/**
126 * Get all adapter IDs

Callers 1

runCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected