MCPcopy Create free account
hub / github.com/ModelEngine-Group/app-platform / getAppConfig

Function getAppConfig

frontend/src/shared/utils/common.ts:435–442  ·  view source on GitHub ↗
(appInfo)

Source from the content-addressed store, hash-verified

433 * @return {Object}
434 */
435export const getAppConfig = (appInfo) => {
436 if (!appInfo?.flowGraph?.appearance) {
437 return {};
438 }
439 const graphOperator = createGraphOperator(JSON.stringify(appInfo.flowGraph.appearance));
440 const nodeList = graphOperator.getShapeIdsByType('startNodeStart');
441 return graphOperator.getConfig(nodeList).appConfig;
442}
443
444/**
445 * 生成随机用户名

Callers 2

RefreshChatStyleFunction · 0.90
getAippDetailsFunction · 0.90

Calls 2

createGraphOperatorFunction · 0.70
getConfigMethod · 0.45

Tested by

no test coverage detected