wangzhigang1999 commented on PR #7417:
URL: https://github.com/apache/kyuubi/pull/7417#issuecomment-4363284885

   Thanks @pan3793 — pushed followup commits addressing all the feedback (deps 
& bundling, Trino-style config keys, `ChatCompletionProvider` rename, 
`SQLite`/`MySQL` capitalization, null-as-noop → `Decision` sentinel, 
`ToolContext` first parameter).
   
   Also folded in some internal cleanup: split `ReactAgent` into 
`LlmStreamClient` + a composite `MiddlewareDispatcher`. The dispatcher itself 
`implements AgentMiddleware`, so the agent treats the whole pipeline as one 
middleware. 
https://github.com/apache/kyuubi/pull/7417/commits/1aac6aaa93f57854f736a2ee3db8e892d842a289
   
   ```
                    ┌──────────────────────────────────────┐
                    │            ReactAgent                │
                    │      (ReAct control loop only)       │
                    └──────────────┬───────────────────────┘
                                   │
                 ┌─────────────────┴─────────────────┐
                 ▼                                   ▼
       ┌──────────────────┐          ┌────────────────────────────┐
       │ LlmStreamClient  │          │   MiddlewareDispatcher     │
       │ one streaming    │          │   implements AgentMiddleware
       │ chat completion  │          │   (Composite)              │
       │ + chunk assembly │          └─────────────┬──────────────┘
       └──────────────────┘                        │
                                     ┌─────────────┼─────────────┐
                                     ▼             ▼             ▼
                                 Logging       Approval     Compaction  ...
                                 Middleware    Middleware   Middleware
   ```
   


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