Skip to content

[BUG] LLM 2 node displays LLM1 "chat history" instead of its own result #2181

@epamLDadayan

Description

@epamLDadayan

Description:
In pipelines with two or more LLM nodes, the final LLM node’s output shows the chat history from the first LLM node. This happens even when the “messages” state is set to “output” (or not). The second LLM is configured to create a file via the Artifacts toolkit, but its user-visible result is replaced by LLM1’s history.

Steps to reproduce:

  1. Create a pipeline with two LLM nodes; make LLM2 the last node.
  2. Configure LLM2 to create a file using the Artifacts toolkit (e.g., create_file).
  3. Run the pipeline to completion.

Actual Result:

  • The final output displays LLM1’s chat history as the result of LLM2.
  • No user message about the file creation from LLM2 is shown.

Expected Result:

  • LLM2 should display its own result (confirmation/details of file creation via Artifacts).
  • LLM1’s chat history should not be shown as LLM2’s output.

Example Pipeline (version: function_condition) https://dev.elitea.ai/alita_ui/406/pipelines/all/16?destTab=configuration&name=BUG+-&viewMode=owner

Metadata

Metadata

Assignees

Labels

PipelinesTo group issues regarding Pipelines functionality

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions