description: app ? getModelDescription()

in apps/chat/src/components/Common/ApplicationWizard/form.ts [311:331]


  description: app ? getModelDescription(app) : '',
  version: app?.version ?? DEFAULT_VERSION,
  iconUrl: app?.iconUrl ?? '',
  topics: app?.topics ?? [],
  inputAttachmentTypes: app?.inputAttachmentTypes ?? [],
  maxInputAttachments: String(app?.maxInputAttachments ?? ''),
  completionUrl: app?.completionUrl ?? '',
  features: safeStringify(app?.features),
  instructions: app ? getQuickAppConfig(app).instructions : '',
  temperature: app ? getQuickAppConfig(app).temperature : DEFAULT_TEMPERATURE,
  toolset: app ? getToolsetStr(getQuickAppConfig(app)) : '',
  sources: app?.function?.sourceFolder ?? '',
  endpoints: app?.function?.mapping
    ? Object.entries(app.function.mapping).map(([key, value]) => ({
        label: key,
        visibleName: FEATURES_ENDPOINTS_NAMES[key],
        value,
        editableKey:
          !FEATURES_ENDPOINTS[key as keyof typeof FEATURES_ENDPOINTS],
        static: key === FEATURES_ENDPOINTS.chat_completion,
      }))