Co-authored-by: 刘江波 <jiangbo721@163.com> Co-authored-by: crazywoola <427733928@qq.com>tags/1.4.0
| 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: |