Aias00 opened a new pull request, #816: URL: https://github.com/apache/rocketmq-dashboard/pull/816
## What changed - Add bounded in-memory conversation memory keyed by `conversationId`. - Send recent user/assistant turns to the OpenAI-compatible chat completions payload. - Keep blank `conversationId` behavior as single-turn chat. - Add tests for memory behavior and multi-message provider payloads. ## Why The frontend and backend already expose `conversationId`, but the gateway ignored it and sent only the current user message. Follow-up questions in the same visible AI chat lost context. Fixes #815 ## Verification - JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -Dtest=OpenAiCompatibleLlmClientTest,OpenAiCompatibleLlmGatewayTest,LlmConversationMemoryTest test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
