chore(api): fix typos in config description and comment (#39870)

Co-authored-by: Jony <13896935+zyz619963502zyz@users.noreply.github.com>
This commit is contained in:
Jony 2026-08-01 15:41:28 +08:00 committed by GitHub
parent e7380865d8
commit f6832fddee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -870,7 +870,7 @@ class WorkflowVariableTruncationConfig(BaseSettings):
)
WORKFLOW_VARIABLE_TRUNCATION_STRING_LENGTH: PositiveInt = Field(
100000,
description="maximum length for string to trigger tuncation, measure in number of characters",
description="maximum length for string to trigger truncation, measure in number of characters",
)
WORKFLOW_VARIABLE_TRUNCATION_ARRAY_LENGTH: PositiveInt = Field(
1000,

View File

@ -137,7 +137,7 @@ class ConsoleHumanInputFormApi(Resource):
self._ensure_console_access(form, current_tenant_id)
self._ensure_console_recipient_type(form)
recipient_type = form.recipient_type
# The type checker is not smart enought to validate the following invariant.
# The type checker is not smart enough to validate the following invariant.
# So we need to assert it manually.
assert recipient_type is not None, "recipient_type cannot be None here."