Skip to content

[Bug]: Agent flow requires two completions of the conversation after creating a session if there are input parameters. #5418

Open
@stardyun

Description

@stardyun

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

409310a

RAGFlow image version

v0.16.0-139-g58a8f1f1 full

Other environment information

Actual behavior

Repeated messages

Image

Expected behavior

After “Create session with agent”, call “Converse with agent” and get an answer immediately.

Steps to reproduce

01. Create session with agent(the Begin component in your agent takes required file parameters)
02. Converse with agent (Need to ask questions twice.)
03. List agent sessions (There are 2 duplicate messages.)

Additional information

  1. Create session
    Image

  2. Converse with agent
    Image

  3. Converse with agent again
    Image

  4. View message history
    Image

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