Skip to content

The open alternative to Salesforce, designed for AI.

313 B
Raw Blame
import { type AiModelEffort } from 'twenty-shared/ai';

// `@` survives name normalization, so effort keys cannot collide with the bare model key the ceiling lookup uses
export const buildEffortLookupKey = (
  normalizedModelName: string,
  effort: AiModelEffort,
): string => `${normalizedModelName}@${effort}`;