+
+ Call one model using only this account:
+ {displayName}
+
+
+ {hasCatalogModels ? (
+
+
+
+
+ ) : (
+
+
+ {
+ setManualTestModelId(e.target.value);
+ setTestModelResult(null);
+ }}
+ placeholder="e.g. gpt-4o-mini"
+ className="w-full rounded-lg border border-border bg-background px-3 py-2 text-sm font-mono focus:border-primary focus:outline-none"
+ disabled={testingModel}
+ />
+
+ )}
+
+ {testModelResult && (
+
+
+ {testModelResult.ok ? "check_circle" : "error"}
+
+
+
+ {testModelResult.ok ? "Model reachable" : "Test failed"}
+ {typeof testModelResult.latencyMs === "number" ? ` · ${testModelResult.latencyMs}ms` : ""}
+
+ {testModelResult.error && (
+
{testModelResult.error}
+ )}
+
+
+ )}
+
+
+
+
+
+
+