chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -14,35 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/** 空方法 */
|
||||
/** empty method */
|
||||
export const EmptyFunction = () => {
|
||||
/** 空方法 */
|
||||
/** empty method */
|
||||
};
|
||||
export const EmptyAsyncFunction = () => Promise.resolve();
|
||||
|
||||
/** 公共空间 ID */
|
||||
/** Public space ID */
|
||||
export const PUBLIC_SPACE_ID = '999999';
|
||||
|
||||
/** BOT_USER_INPUT 变量名 */
|
||||
/** BOT_USER_INPUT variable name */
|
||||
export const BOT_USER_INPUT = 'BOT_USER_INPUT';
|
||||
|
||||
/** USER_INPUT 参数,新版 BOT_USER_INPUT 参数,作用和 BOT_USER_INPUT 相同,Coze2.0 Chatflow 需求引入 */
|
||||
/** USER_INPUT parameters, the new version BOT_USER_INPUT parameters, the same function as BOT_USER_INPUT, Coze2.0 Chatflow requirements are introduced */
|
||||
export const USER_INPUT = 'USER_INPUT';
|
||||
|
||||
/** CONVERSATION_NAME 变量名,start 节点会话名称入参 */
|
||||
/** CONVERSATION_NAME variable name, start node session name imported parameter */
|
||||
export const CONVERSATION_NAME = 'CONVERSATION_NAME';
|
||||
|
||||
/**
|
||||
* workflow 名称最大字符数
|
||||
* Workflow name Maximum number of characters
|
||||
*/
|
||||
export const WORKFLOW_NAME_MAX_LEN = 30;
|
||||
|
||||
/**
|
||||
* 工作流命名正则
|
||||
* workflow naming regular
|
||||
*/
|
||||
export const WORKFLOW_NAME_REGEX = /^[a-zA-Z][a-zA-Z0-9_]{0,63}$/;
|
||||
|
||||
/**
|
||||
* 节点测试ID前缀
|
||||
* Node test ID prefix
|
||||
*/
|
||||
export const NODE_TEST_ID_PREFIX = 'playground.node';
|
||||
|
||||
Reference in New Issue
Block a user