MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / getDefaultImageGenConfig

Function getDefaultImageGenConfig

apps/webuiapps/src/lib/imageGenClient.ts:39–43  ·  view source on GitHub ↗
(
  provider: ImageGenProvider,
)

Source from the content-addressed store, hash-verified

37};
38
39export function getDefaultImageGenConfig(
40 provider: ImageGenProvider,
41): Omit<ImageGenConfig, 'apiKey'> {
42 return DEFAULT_CONFIGS[provider];
43}
44
45/**
46 * Load image gen config — priority: local file (~/.openroom/config.json) > localStorage.

Callers 3

SettingsModalFunction · 0.90
handleIgProviderChangeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected