Skip to content

Passing chat history to the prediction api, is lost if you go through a condition agent #5179

@Stono

Description

@Stono

Describe the bug

If you have start -> agent, and pass history via the api (eg history: [{ role: 'userMessage', content: 'my favourite colour is red' }], all is good, but if you do start -> condition agent -> agent, the history is lost.

To Reproduce

Image

Output from both with and without a condition agent:

Image

Expected behavior

History passed via the api should flow through to the agent

Screenshots

No response

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

Browser

None

Additional context

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