@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
11 lines • 600 B
TypeScript
import type { MastraModelGateway } from './base.js';
export { MastraModelGateway, type ProviderConfig } from './base.js';
export { ModelsDevGateway } from './models-dev.js';
export { NetlifyGateway } from './netlify.js';
/**
* Find the gateway that handles a specific model ID based on gateway ID
* Gateway ID is used as the prefix (e.g., "netlify" for netlify gateway)
* Exception: models.dev is a provider registry and doesn't use a prefix
*/
export declare function findGatewayForModel(gatewayId: string, gateways: MastraModelGateway[]): MastraModelGateway;
//# sourceMappingURL=index.d.ts.map