MCPcopy
hub / github.com/ResearAI/AutoFigure-Edit / getImageProviderLabel

Function getImageProviderLabel

web/app.js:732–741  ·  view source on GitHub ↗
(provider)

Source from the content-addressed store, hash-verified

730 }
731
732 function getImageProviderLabel(provider) {
733 const normalized = normalizeImageProviderValue(provider);
734 if (normalized === "same") {
735 return t("providers.same_as_svg");
736 }
737 if (normalized === "openai") {
738 return t("providers.openai_images");
739 }
740 return getProviderLabel(normalized);
741 }
742
743 function loadInputState() {
744 try {

Callers 2

updateRouteSummaryFunction · 0.85
syncRoutingControlsFunction · 0.85

Calls 3

tFunction · 0.85
getProviderLabelFunction · 0.85

Tested by

no test coverage detected