Is there an existing issue for this?
Current Behavior
|
decoratedMessages.add(messages.get(0)); |
In AiPromptPlugin#decorateBody, when decorating the request body, only messages.get(0) is added to decoratedMessages, causing all remaining messages (multi-turn conversation history) to be silently dropped.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Debug logs
No response
Anything else?
No response
Is there an existing issue for this?
Current Behavior
shenyu/shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-prompt/src/main/java/org/apache/shenyu/plugin/ai/prompt/AiPromptPlugin.java
Line 114 in 338ea9a
In
AiPromptPlugin#decorateBody, when decorating the request body, onlymessages.get(0)is added todecoratedMessages, causing all remaining messages (multi-turn conversation history) to be silently dropped.Expected Behavior
No response
Steps To Reproduce
No response
Environment
Debug logs
No response
Anything else?
No response