MCPcopy
hub / github.com/HisMax/RedInk / activateImageProvider

Function activateImageProvider

frontend/src/composables/useProviderForm.ts:364–367  ·  view source on GitHub ↗

* 激活图片服务商

(name: string)

Source from the content-addressed store, hash-verified

362 * 激活图片服务商
363 */
364 async function activateImageProvider(name: string) {
365 imageConfig.value.active_provider = name
366 await autoSaveConfig()
367 }
368
369 /**
370 * 打开添加图片服务商弹窗

Callers

nothing calls this directly

Calls 1

autoSaveConfigFunction · 0.85

Tested by

no test coverage detected