MCPcopy
hub / github.com/OpenPipe/OpenPipe / isComparisonModel

Function isComparisonModel

app/src/utils/comparisonModels.ts:9–10  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

7] as const;
8
9export const isComparisonModel = (modelId: string) =>
10 ComparisonModel[modelId as keyof typeof ComparisonModel] !== undefined;
11
12export const isComparisonModelName = (modelName: string) =>
13 Object.values(COMPARISON_MODEL_NAMES).some((model) => model.name === modelName);

Callers 5

getStringsToPruneFunction · 0.90
getOutputTitleFunction · 0.90
generateEntryFunction · 0.90
getModelTitleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected