feat: add Prompt API integration for built-in AI support#323
feat: add Prompt API integration for built-in AI support#323NakataCode wants to merge 4 commits intomasterfrom
Conversation
|
Hello @dobrinyonkov, Together with @NakataCode, we reviewed the functionality. Overall, the AI functionality works quite well, but we noticed a few things that I will outline below:
Additionally, I performed a full review of all changes and attached an AI analysis generated with Claude Code using the Opus 4.5 model. There are some interesting findings that are worth reviewing to determine whether they are relevant. CODE_REVIEW_ANALYSIS.md That’s all from me for now. |
|
57 new unit tests added across 3 spec files.
|
|
and about the "verify exactly which model is being downloaded when running in the Edge environment and adjust the message if necessary." The 'Gemini Nano is ready' message is hardcoded in the UI5 Inspector and simply indicates that the browser's built-in AI model has been downloaded and is ready — it doesn't reflect which model is actually running underneath. From what I have looked up, the difference in responses between Chrome and Edge suggests that each browser interferes somehow when downloading the model, which would explain the inconsistent behavior. From the code side, there doesn't seem to be a way to determine which model is actually being used. |



🚀 Enhanced AI Chat with Interactive Viewers and Improved UX
📋 Summary
This PR significantly enhances the AI chat interface with interactive JSON/code viewers, improved context awareness, and better user experience. The AI assistant now has full page visibility and provides rich, interactive responses.
✨ Features Added
🎨 Interactive Content Display
Interactive JSON Viewer
Enhanced Code Blocks
<pre><code>)🧠 AI Context & Intelligence
Full Page Awareness
Smart Session Management
💎 UX Improvements
Token Counter
Custom Confirmation Dialog
Context Indicator