Skip to content

v0.5.31 AI Chat

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Sep 10:23
7be8db8

🚀 Release Highlights

This release introduces significant improvements to the AI Chat module, including a new Web Search tool, BIOS/UEFI support, and enhanced UI components. We have also addressed several build errors and stability issues.


✨ Features

AI Chat & Tools

  • Web Search Integration: Implemented a multi-provider web search system with TLS fixes, allowing the AI to look up internet information.
  • BIOS/UEFI Support: Added support for BIOS/UEFI and TextUI targets, featuring auto-environment detection.
  • UI Enhancements:
    • Added a "Magic Wand" toolbar button for quick actions.
    • Introduced a tools tree structure for better organization.
    • Added BIOS/UEFI and TextUI options to the Target OS dropdown.
    • Added an AI Chat logging category to preferences.

System & Build

  • OpenCV 5 Support: Added necessary includes for cv::boundingRect to support OpenCV 5.

🐛 Bug Fixes

Build & Compilation

  • Fixed build errors by adding ChatSchedulerPersistence and missing source files to the CMake build.
  • Corrected the include path for bios_focus_detector.h in screenAnalyzer.cpp.
  • Explicitly initialized m_cameraManager to nullptr to prevent undefined behavior.
  • Initialized SharedToolExecutor CameraManager for MCP.

AI Chat Functionality

  • OpenAI Integration: Fixed an issue where tool_calls were empty when using the OpenAI function calling format.
  • Session Management: Added the missing isInitialDiscovery parameter to the updateSessionFromDeviceInfo implementation.
  • Configuration: Added missing tools (detect_cursor, web_search) to the default configuration.
  • Logging: Registered the AI Chat category in LogCategoryRegistry and added detailed logging to the web search tool for easier debugging.
  • File Handling: Fixed screenshot and OCR file saving paths to use the /tmp/openterface subdirectory.
  • Planner Mode: Improved planner mode efficiency and logging.

UI & Rendering

  • Formatting:
    • Display "Terminal Output" heading on a separate line with bold formatting.
    • Reduced heading font size in Tool Result messages for better visual balance.
  • Layout: Fixed chat bubble spacing and used frameGeometry for accurate chat window positioning.
  • Rendering: Improved general chat UI rendering performance.

📚 Documentation

  • Advanced Features: Added comprehensive documentation regarding advanced features.
  • Tools Configuration: Added documentation explaining the tools configuration fix.
  • Web Search: Updated documentation to reflect the new web search capabilities.