mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-17 04:34:25 +00:00
style(ui): format decisionModels.ts
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
1a5b87796d
commit
9bd31f4aa2
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue