@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
16 lines • 909 B
TypeScript
import type { Api, Model } from "@earendil-works/pi-ai";
declare const MODEL_CAPABILITY_FIELDS: readonly ["contextWindow", "maxTokens", "input", "reasoning", "thinkingLevelMap", "upstreamModelId", "serviceTier", "recoverTextToolCalls", "compat"];
type ModelCapabilityField = (typeof MODEL_CAPABILITY_FIELDS)[number];
export type RemoteCatalogConflict = {
readonly providerId: string;
readonly modelId: string;
readonly fields: readonly ModelCapabilityField[];
};
type RemoteCatalogMerge = {
readonly models: Model<Api>[];
readonly conflicts: readonly RemoteCatalogConflict[];
};
export declare function mergeRemoteCatalogModels(providerId: string, baseline: readonly Model<Api>[], dynamic: readonly Model<Api>[]): RemoteCatalogMerge;
export declare function parseRemoteCatalog(providerId: string, value: unknown): Model<Api>[];
export {};
//# sourceMappingURL=remote-catalog-merge.d.ts.map