Skip to content

[Bug]: ERROR: The dialog flow has no way to interact with you. Please add an 'Interact' component to the end of the flow. #5515

Closed
@cylcc06

Description

@cylcc06

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

null

RAGFlow image version

v0.16.0-176-g8b2c04ab full

Other environment information

mac m4 arm64

Actual behavior

when i test if-condition flow, once i start a chat. i meet the error below.

Image Image

here is log
2025-03-01 19:19:25 ragflow-server | 2025-03-01 19:19:25,099 INFO 139 172.18.0.2 - - [01/Mar/2025 19:19:25] "POST /v1/canvas/completion HTTP/1.1" 200 -
2025-03-01 19:19:25 ragflow-server | 2025-03-01 19:19:25,898 INFO 139 HTTP Request: POST http://host.docker.internal:11434/api/chat "HTTP/1.1 200 OK"
2025-03-01 19:19:25 ragflow-server | Traceback (most recent call last):
2025-03-01 19:19:25 ragflow-server | File "/ragflow/api/apps/canvas_app.py", line 135, in sse
2025-03-01 19:19:25 ragflow-server | for ans in canvas.run(stream=True):
2025-03-01 19:19:25 ragflow-server | File "/ragflow/agent/canvas.py", line 295, in run
2025-03-01 19:19:25 ragflow-server | raise Exception("The dialog flow has no way to interact with you. Please add an 'Interact' component to the end of the flow.")
2025-03-01 19:19:25 ragflow-server | Exception: The dialog flow has no way to interact with you. Please add an 'Interact' component to the end of the flow.
2025-03-01 19:19:25 ragflow-server | 2025-03-01 19:19:25,925 INFO 139 172.18.0.2 - - [01/Mar/2025 19:19:25] "GET /v1/canvas/get/fbfeb522f68b11efad600242ac120002 HTTP/1.1" 200 -
2025-03-01 19:19:31 ragflow-server | 2025-03-01 19:19:31,973 INFO 139 172.18.0.2 - - [01/Mar/2025 19:19:31] "GET /v1/user/info HTTP/1.1" 200 -

Expected behavior

the if-condition problem

Steps to reproduce

login--agent--creat agent--
create a simple agent with if-condition component

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions