MCPcopy Create free account
hub / github.com/Roy3838/Observer / AvailableModelsProps

Interface AvailableModelsProps

app/src/components/AvailableModels.tsx:34–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32} | null;
33
34interface AvailableModelsProps {
35 isProUser?: boolean;
36 // Ob-Server + server props threaded to ModelHub
37 isUsingObServer?: boolean;
38 handleToggleObServer?: () => void;
39 showLoginMessage?: boolean;
40 isAuthenticated?: boolean;
41 quotaInfo?: QuotaInfo;
42 renderQuotaStatus?: () => React.ReactNode;
43 localServerOnline?: boolean;
44 checkLocalServer?: () => void;
45 customServers?: CustomServer[];
46 onAddCustomServer?: (address: string) => void;
47 onRemoveCustomServer?: (address: string) => void;
48 onToggleCustomServer?: (address: string) => void;
49 onCheckCustomServer?: (address: string) => void;
50 appInferenceUrl?: string | null;
51 onSetAppInferenceUrl?: (url: string) => void;
52}
53
54const formatBytes = (bytes: number, decimals = 2) => {
55 if (!+bytes) return '0 Bytes';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected