sohandsomejie opened a new pull request, #1511:
URL: https://github.com/apache/dubbo-admin/pull/1511

   **Please provide a description of this PR:**
   
   This PR adds end-to-end page-aware context support to Dubbo Admin AI 
conversations.
   
   ### What changed
   
   - Add a frontend context manager and provider system for collecting page, 
resource, search, topology, and traffic-rule context.
   - Sanitize and limit collected context before sending it to the AI service.
   - Add context preview, section selection, refresh, and one-shot exclusion 
controls to the chat drawer.
   - Pass structured context through the AI API and normalize it before 
injecting it into agent prompts.
   - Add detailed context coverage for resource details, search filters, 
configuration pages, and unsaved rule drafts.
   - Extract the AI chat drawer into a reusable component with injectable 
service, context collector, labels, and suggestions.
   - Make session-history support optional for consumers of the reusable 
component.
   - Upgrade the default model configuration to Qwen 3.7 Max.
   - Restore required Markdown, syntax highlighting, and drawer styling 
dependencies.
   - Add frontend and backend unit and integration tests.
   
   ### Validation
   
   - Frontend AI context and chat component tests: 41 passed.
   - Vite production build completed successfully.
   - Targeted ESLint checks completed without errors or warnings.
   - Added backend tests for context validation, normalization, and agent 
integration.
   
   **To help us figure out who should review this PR, please put an X in all 
the areas that this PR affects.**
   
   - [x] Docs
   - [ ] Installation
   - [x] User Experience
   - [ ] Dubboctl
   - [x] Console
   - [x] Core Component
   
   **Please check any characteristics that apply to this pull request.**
   
   - [x] The page context payload is optional and backward compatible.
   - [x] Sensitive fields are filtered before context is sent to the AI service.
   - [x] Unit and integration tests are included.


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