Skip to content

fix(ai-prompt): preserve all original messages in decorateBody#6343

Open
eye-gu wants to merge 1 commit into
apache:masterfrom
eye-gu:fix-6342
Open

fix(ai-prompt): preserve all original messages in decorateBody#6343
eye-gu wants to merge 1 commit into
apache:masterfrom
eye-gu:fix-6342

Conversation

@eye-gu
Copy link
Copy Markdown
Contributor

@eye-gu eye-gu commented May 15, 2026

close #6342

AiPromptPlugin#decorateBody used messages.get(0) which only kept the first message, silently dropping all remaining conversation history (multi-turn dialogue messages).

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] AiPromptPlugin decorateBody drops all messages except the first one

1 participant