style(ui): format decisionModels.ts

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
devin-ai-integration[bot] 2026-10-12 22:09:29 +00:00 • committed by kerry
parent 1a5b87796d
commit 9bd31f4aa2

View file

@ -31,7 +31,7 @@ export const isDecisionMode = (mode: string | null | undefined): boolean =>
export const DECISIONS_MODE = "decisions";
export const displayMode = (mode: string | null | undefined): string | undefined =>
isDecisionMode(mode) ? DECISIONS_MODE : (mode ?? undefined);
isDecisionMode(mode) ? DECISIONS_MODE : mode ?? undefined;
const isDecisionEntry = (entry: CostMapEntry): boolean =>
isDecisionMode(entry.mode) || (entry.supported_endpoints ?? []).some((endpoint) => DECISION_ENDPOINTS.has(endpoint));