@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
13 lines • 829 B
TypeScript
import type { MastraModelGateway } from './base.js';
export { MastraModelGateway, type ProviderConfig, type GatewayLanguageModel } from './base.js';
export { AzureOpenAIGateway, type AzureAccessToken, type AzureOpenAIGatewayConfig, type AzureTokenCredential, } from './azure.js';
export { ModelsDevGateway } from './models-dev.js';
export { MastraGateway, type MastraGatewayConfig } from './mastra.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