wangzhigang1999 opened a new pull request, #7382:
URL: https://github.com/apache/kyuubi/pull/7382

   ## Summary
   
   Part 2b of 4 for the Data Agent Engine 
([umbrella](https://github.com/apache/kyuubi/issues/7379)). **Stacked on #7380 
and PR 2a, please review those first.**
   
   - `ReactAgent` — ReAct loop with streaming LLM interaction and configurable 
max iterations
   - `ConversationMemory` — per-session multi-turn context management
   - Middleware pipeline: `ApprovalMiddleware` (STRICT/NORMAL/AUTO_APPROVE), 
`LoggingMiddleware`
   - `OpenAiProvider` — wires ReactAgent + tools + middleware for any 
OpenAI-compatible LLM service
   - `MockLlmProvider` — enables full pipeline integration testing without a 
real LLM
   
   > **Note**: Stacked PR. After prior PRs merge, this will be rebased to show 
only incremental diff.
   
   ## Test plan
   
   - [x] `ReactAgentBuilderTest` — builder validation
   - [x] `ConversationMemoryTest` — message management, defensive copy
   - [x] `ApprovalMiddlewareTest` — approve/deny, timeout, risk-level routing, 
cancelAll
   - [x] `LoggingMiddlewareTest` — event pass-through, truncation
   - [x] `DataAgentMockLlmSuite` — full tool-call pipeline via JDBC with 
MockLlmProvider
   - [x] `DataAgentE2ESuite` — end-to-end with real LLM (CI-optional)
   - [x] `ApprovalWorkflowIntegrationSuite` — approval workflow via JDBC


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to