MCPcopy
hub / github.com/OpenPipe/OpenPipe / getComparisonModelSlug

Function getComparisonModelSlug

app/src/utils/comparisonModels.ts:34–38  ·  view source on GitHub ↗
(key: ComparisonModel)

Source from the content-addressed store, hash-verified

32};
33
34export const getComparisonModelSlug = (key: ComparisonModel) => {
35 const model = Object.entries(COMPARISON_MODEL_NAMES).find(([id]) => id === key);
36 if (!model) return null;
37 return model[1].slug;
38};

Callers 1

getOutputTitleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected