Skip to content

Knowledge pipeline summary gen auto enables before then disable got error #37209

@RustRookie-coder

Description

@RustRookie-coder

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.14.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Step 1: Create knowledge pipeline. Turn on the "Summary Generation Auto" switch.
Step 2: Upload several files and the chunking process is successful
Step 3: Turn off the "summary generation auto" switch
Step 4: Upload the file

✔️ Expected Behavior

upload files success

❌ Actual Behavior

Got error:
_pydantic_core.ValidationError: 4 validation errors for KnowledgeIndexNodeData\nsummary_index_setting.enable\n Input should be a valid boolean [type=bool_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.12/v/bool_type\nsummary_index_setting.model_name\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.12/v/string_type\nsummary_index_setting.model_provider_name\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.12/v/string_type\nsummary_index_setting.summary_prompt\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.12/v/string_type\n"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions