configAutomationMetaMap (config/automationMeta.ts)

FastGPT · packages/workflow-core/src/config/automationMeta.ts · typescript · Apache-2.0
voice

Provides a mapping of workflow automation config keys to metadata for agent hints and capabilities.

// Source: https://github.com/labring/FastGPT | License: Apache-2.0 | Copyright 2023 Sealos
// Provided via justclaw.it.com; keep this notice with the code.
import type { ChatConfigPath, ConfigAutomationMeta } from './type';

/** 为系统配置补充 Agent 决策语义;字段结构和基础说明仍由 ChatConfig Schema 提供。 */
export const configAutomationMetaMap = {
  welcomeText: {
    agentHint: 'workflow:cli.config.welcome_text',
    capabilities: ['conversation-welcome']
  },
  welcomeConfig: {
    agentHint: 'workflow:cli.config.welcome_config',
    capabilities: ['conversation-welcome']
  },
  'welcomeConfig.welcomeText': {
    agentHint: 'workflow:cli.config.welcome_text',
    capabilities: ['conversation-welcome']
  },
  'welcomeConfig.welcomeQuestions': {
    agentHint: 'workflow:cli.config.welcome_questions',
    capabil

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key