@nyrra/foundry-ai
Version:
Thin Palantir Foundry provider adapters and model catalog for the Vercel AI SDK.
17 lines (14 loc) • 789 B
TypeScript
import { F as FoundryLanguageModel } from '../middleware-Dzb9N4ik.js';
import { b as ThirdPartyModelId } from '../third-party-models-C7WAGazf.js';
import { F as FoundryConfig } from '../types-DauuBLWL.js';
import 'ai';
interface FoundryThirdPartyProvider {
(modelId: ThirdPartyModelId): FoundryLanguageModel;
specificationVersion: FoundryLanguageModel['specificationVersion'];
languageModel(modelId: ThirdPartyModelId): FoundryLanguageModel;
embeddingModel(modelId: string): never;
imageModel(modelId: string): never;
}
/** Routes known third-party aliases and RIDs through their verified Foundry proxy. */
declare function createFoundryThirdParty(config: FoundryConfig): FoundryThirdPartyProvider;
export { type FoundryThirdPartyProvider, createFoundryThirdParty };