Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Update the description and labels in Judge0ce tool (#3990)

Richards Tud1263700c00b
diff --git a/api/core/tools/provider/builtin/judge0ce/tools/executeCode.yaml b/api/core/tools/provider/builtin/judge0ce/tools/executeCode.yaml
index e36efbcb55c..d2d89b419c3 100644
--- a/api/core/tools/provider/builtin/judge0ce/tools/executeCode.yaml
+++ b/api/core/tools/provider/builtin/judge0ce/tools/executeCode.yaml
@@ -1,14 +1,14 @@
identity:
- name: submitCodeExecutionTask
+ name: executeCode
author: Richards Tu
label:
- en_US: Submit Code Execution Task
- zh_Hans: 提交代码执行任务
+ en_US: Submit Code Execution Task to Judge0 CE and get execution result.
+ zh_Hans: 提交代码执行任务到 Judge0 CE 并获取执行结果。
description:
human:
- en_US: A tool for submitting code execution task to Judge0 CE.
- zh_Hans: 一个用于向 Judge0 CE 提交代码执行任务的工具。
- llm: A tool for submitting a new code execution task to Judge0 CE. It takes in the source code, language ID, standard input (optional), expected output (optional), and additional files (optional) as parameters; and returns a unique token representing the submission.
+ en_US: A tool for executing code and getting the result.
+ zh_Hans: 一个用于执行代码并获取结果的工具。
+ llm: This tool is used for executing code and getting the result.
parameters:
- name: source_code
type: string