Skip to content

[Bug]: In the Agent's workflow, the input content cannot be wrapped, and \n will not work, otherwise an error will be reported #6241

Closed
@hero8152

Description

@hero8152

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

erro

RAGFlow image version

0.17.2 full

Other environment information

Actual behavior

Very serious bug!
When creating a knowledge base in Agent, if line breaks or even \n characters appear in the text entered in the knowledge base, the knowledge base node will report an error, but other nodes will not be affected.
And when the knowledge base matches knowledge, it will only match the characters before the line break, and the text after it will not be read.
If you do not use Agent, create an assistant in the conversation, and enter \n \t in the chat box, it will also become a line break and indentation.

Expected behavior

No response

Steps to reproduce

Interface - Retieval - Generate - Interface

"hello world" - true

"hello
world" -false

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions