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.

docs: fix typos in ValueSourceType docstring (#39573)

SpiliosDmkac0320a70df9
diff --git a/api/core/workflow/nodes/human_input/enums.py b/api/core/workflow/nodes/human_input/enums.py
index 53a3bd0b964..da8406d9cf2 100644
--- a/api/core/workflow/nodes/human_input/enums.py
+++ b/api/core/workflow/nodes/human_input/enums.py
@@ -67,10 +67,10 @@ class FormInputType(enum.StrEnum):
class ValueSourceType(enum.StrEnum):
"""ValueSourceType records whether the value comes from a static setting
- in form definiton, or a variable while the workflow is running.
+ in form definition, or a variable while the workflow is running.
"""
# `VARIABLE` means that the value comes from a variable in workflow execution
VARIABLE = enum.auto()
- # `CONSTANT` measn that the value comes from a static setting in form definition.
+ # `CONSTANT` means that the value comes from a static setting in form definition.
CONSTANT = enum.auto()
diff --git a/api/openapi/markdown/console-openapi.md b/api/openapi/markdown/console-openapi.md
index a40ee97685d..ef38f3c891d 100644
--- a/api/openapi/markdown/console-openapi.md
+++ b/api/openapi/markdown/console-openapi.md
@@ -22993,11 +22993,11 @@ User action configuration.
#### ValueSourceType
ValueSourceType records whether the value comes from a static setting
-in form definiton, or a variable while the workflow is running.
+in form definition, or a variable while the workflow is running.
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
-| ValueSourceType | string | ValueSourceType records whether the value comes from a static setting in form definiton, or a variable while the workflow is running. | |
+| ValueSourceType | string | ValueSourceType records whether the value comes from a static setting in form definition, or a variable while the workflow is running. | |
#### VerificationTokenResponse
diff --git a/api/openapi/markdown/service-openapi.md b/api/openapi/markdown/service-openapi.md
index 3cc8e4c3410..00515af57e7 100644
--- a/api/openapi/markdown/service-openapi.md
+++ b/api/openapi/markdown/service-openapi.md
@@ -4052,11 +4052,11 @@ User action configuration.
#### ValueSourceType
ValueSourceType records whether the value comes from a static setting
-in form definiton, or a variable while the workflow is running.
+in form definition, or a variable while the workflow is running.
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
-| ValueSourceType | string | ValueSourceType records whether the value comes from a static setting in form definiton, or a variable while the workflow is running. | |
+| ValueSourceType | string | ValueSourceType records whether the value comes from a static setting in form definition, or a variable while the workflow is running. | |
#### WeightKeywordSetting
diff --git a/api/openapi/markdown/web-openapi.md b/api/openapi/markdown/web-openapi.md
index 4b292991a63..2ba8c35dd17 100644
--- a/api/openapi/markdown/web-openapi.md
+++ b/api/openapi/markdown/web-openapi.md
@@ -1600,11 +1600,11 @@ User action configuration.
#### ValueSourceType
ValueSourceType records whether the value comes from a static setting
-in form definiton, or a variable while the workflow is running.
+in form definition, or a variable while the workflow is running.
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
-| ValueSourceType | string | ValueSourceType records whether the value comes from a static setting in form definiton, or a variable while the workflow is running. | |
+| ValueSourceType | string | ValueSourceType records whether the value comes from a static setting in form definition, or a variable while the workflow is running. | |
#### VerificationTokenResponse
diff --git a/packages/contracts/generated/api/console/agent/zod.gen.ts b/packages/contracts/generated/api/console/agent/zod.gen.ts
index 4146d261ffc..74d05d36775 100644
--- a/packages/contracts/generated/api/console/agent/zod.gen.ts
+++ b/packages/contracts/generated/api/console/agent/zod.gen.ts
@@ -2528,7 +2528,7 @@ export const zAgentConfigSnapshotDetailResponse = z.object({
* ValueSourceType
*
* ValueSourceType records whether the value comes from a static setting
- * in form definiton, or a variable while the workflow is running.
+ * in form definition, or a variable while the workflow is running.
*/
export const zValueSourceType = z.enum(['constant', 'variable'])
diff --git a/packages/contracts/generated/api/console/apps/zod.gen.ts b/packages/contracts/generated/api/console/apps/zod.gen.ts
index a41672798e6..88dcfc13682 100644
--- a/packages/contracts/generated/api/console/apps/zod.gen.ts
+++ b/packages/contracts/generated/api/console/apps/zod.gen.ts
@@ -3895,7 +3895,7 @@ export const zAgentKnowledgeRetrievalConfig = z.object({
* ValueSourceType
*
* ValueSourceType records whether the value comes from a static setting
- * in form definiton, or a variable while the workflow is running.
+ * in form definition, or a variable while the workflow is running.
*/
export const zValueSourceType = z.enum(['constant', 'variable'])
diff --git a/packages/contracts/generated/api/console/installed-apps/zod.gen.ts b/packages/contracts/generated/api/console/installed-apps/zod.gen.ts
index f0acbe06c0e..8be095ef6d4 100644
--- a/packages/contracts/generated/api/console/installed-apps/zod.gen.ts
+++ b/packages/contracts/generated/api/console/installed-apps/zod.gen.ts
@@ -430,7 +430,7 @@ export const zFileListInputConfig = z.object({
* ValueSourceType
*
* ValueSourceType records whether the value comes from a static setting
- * in form definiton, or a variable while the workflow is running.
+ * in form definition, or a variable while the workflow is running.
*/
export const zValueSourceType = z.enum(['constant', 'variable'])
diff --git a/packages/contracts/generated/api/service/zod.gen.ts b/packages/contracts/generated/api/service/zod.gen.ts
index 78fcc65cdad..9e34890b435 100644
--- a/packages/contracts/generated/api/service/zod.gen.ts
+++ b/packages/contracts/generated/api/service/zod.gen.ts
@@ -1894,7 +1894,7 @@ export const zUserActionConfig = z.object({
* ValueSourceType
*
* ValueSourceType records whether the value comes from a static setting
- * in form definiton, or a variable while the workflow is running.
+ * in form definition, or a variable while the workflow is running.
*/
export const zValueSourceType = z.enum(['constant', 'variable'])
diff --git a/packages/contracts/generated/api/web/zod.gen.ts b/packages/contracts/generated/api/web/zod.gen.ts
index f41de0e0077..3dbb9584950 100644
--- a/packages/contracts/generated/api/web/zod.gen.ts
+++ b/packages/contracts/generated/api/web/zod.gen.ts
@@ -641,7 +641,7 @@ export const zUserActionConfig = z.object({
* ValueSourceType
*
* ValueSourceType records whether the value comes from a static setting
- * in form definiton, or a variable while the workflow is running.
+ * in form definition, or a variable while the workflow is running.
*/
export const zValueSourceType = z.enum(['constant', 'variable'])