瀏覽代碼

fix: remove error message $ symbol (#19587)

Co-authored-by: 刘江波 <jiangbo721@163.com>
Co-authored-by: crazywoola <427733928@qq.com>
tags/1.4.0
jiangbo721 5 月之前
父節點
當前提交
fabfc7d4d8
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/core/workflow/nodes/code/code_node.py

+ 1
- 1
api/core/workflow/nodes/code/code_node.py 查看文件

depth: int = 1, depth: int = 1,
): ):
if depth > dify_config.CODE_MAX_DEPTH: if depth > dify_config.CODE_MAX_DEPTH:
raise DepthLimitError(f"Depth limit ${dify_config.CODE_MAX_DEPTH} reached, object too deep.")
raise DepthLimitError(f"Depth limit {dify_config.CODE_MAX_DEPTH} reached, object too deep.")


transformed_result: dict[str, Any] = {} transformed_result: dict[str, Any] = {}
if output_schema is None: if output_schema is None:

Loading…
取消
儲存