You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "wangzhigang1999 (via GitHub)" <gi...@apache.org> on 2026/04/04 16:33:54 UTC

[PR] [KYUUBI #7379][2b/4] Data Agent Engine: agent runtime, middleware, and OpenAI provider [kyuubi]

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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] [KYUUBI #7379][2b/4] Data Agent Engine: agent runtime, middleware, and OpenAI provider [kyuubi]

Posted by "wangzhigang1999 (via GitHub)" <gi...@apache.org>.
wangzhigang1999 closed pull request #7382: [KYUUBI #7379][2b/4] Data Agent Engine: agent runtime, middleware, and OpenAI provider
URL: https://github.com/apache/kyuubi/pull/7382


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org