Skip to content

OpenWebUI Auto Tool Selector Suite v1.1.0

Choose a tag to compare

@ShaoRou459 ShaoRou459 released this 31 Jul 16:11
· 44 commits to main since this release
16368c7

OpenWebUI Auto Tool Selector Suite v1.1.0

🎉 Major Update: Enhanced Debugging, Vision Integration & Modular Architecture


🚀 What's New

🔧 Enhanced Debugging System

  • Color-coded debug logging with structured categories (ROUTER, VISION, TOOL, etc.)
  • Comprehensive debug reports for both Standard and Complete search modes
  • Real-time troubleshooting with detailed operation insights
  • Docker-friendly logging with automatic truncation and chunking

👁️ Smart Vision Integration

  • Universal image support - Non-vision models can now "see" images
  • Automatic image transcription using vision models for context
  • Seamless vision injection for any model through settings
  • Enhanced search context with image analysis integration

🔄 Modular Search Architecture

  • Flexible search backend - Works with or without Exa Search Router
  • Graceful fallback to native OpenWebUI search when Exa unavailable
  • Intelligent routing between advanced and basic search modes
  • Improved error handling with retry mechanisms

💻 Flexible Code Execution

  • Dual interpreter support - Choose between Jupyter notebooks or basic code execution
  • Environment selection via use_jupyter_code_interpreter setting
  • Enhanced code capabilities with full Jupyter workspace support
  • Better file handling and persistence options

⚙️ Settings-Based Configuration

  • No more manual file downloads - Everything configured through UI
  • Streamlined installation - Just enable function and configure settings
  • User-friendly setup - Clear valve descriptions and recommendations
  • Backward compatibility maintained with existing setups

🛠️ Improvements

Performance & Reliability

  • Robust error handling with exponential backoff retry logic
  • Query caching system to reduce API calls and improve response times
  • Better memory management with configurable context limits
  • Improved status updates with real-time progress tracking

User Experience

  • Clearer status messages throughout tool execution
  • Better failure recovery with graceful degradation
  • Enhanced logging for easier troubleshooting
  • Improved documentation with marketplace-specific READMEs

Code Quality

  • Structured debug system replacing legacy debug functions
  • Type safety improvements with better parameter validation
  • Modular architecture for easier maintenance and extension
  • Comprehensive error messages for better user feedback

📦 Installation & Upgrade

New Installation

  1. Install dependencies: pip install exa_py in your OpenWebUI container
  2. Add Auto Tool Router: Install as Function from marketplace or copy autotoo.py
  3. Add Exa Search Router (optional): Install as Tool with ID exa_router_search
  4. Configure settings: Use the UI-based valve system (no manual files needed!)

Upgrading from v1.0

  • Replace existing code with new versions
  • Update settings through the valve system
  • Enable new features like vision integration and debugging as needed
  • No breaking changes - existing configurations will continue to work

⚡ Quick Start

Essential Settings

# Auto Tool Router Function
helper_model: "gpt-4o-mini"           # Tool decision maker
vision_model: "gpt-4o"                # For image analysis
vision_injection_models: ["llama3.1"] # Models to enhance
debug_enabled: false                  # Enable for troubleshooting

# Exa Search Router Tool (if installed)
exa_api_key: "your-key-here"         # Required for advanced search
debug_enabled: false                  # Enable for search debugging

Usage Examples

# Autonomous tool selection - no manual intervention needed
"What's the weather in Tokyo today?"          → Auto web search
"Create a logo for my coffee shop"           → Auto image generation  
"Analyze this CSV data and make charts"      → Auto code interpreter
"Remember my favorite color is blue"         → Auto memory storage

🔗 Links


🙏 Acknowledgments

Thanks to the OpenWebUI community for feedback and suggestions that made this release possible!


📋 Full Changelog

Added

  • Enhanced debug system with color-coded categorical logging
  • Vision model integration for non-vision model image support
  • Modular search architecture with native OpenWebUI fallback
  • Jupyter vs basic code interpreter selection
  • Settings-based configuration system
  • Comprehensive debug reports for search operations
  • Query caching for improved performance
  • Structured error handling with retry mechanisms

Improved

  • Status update messages throughout tool execution
  • Error recovery and graceful degradation
  • Documentation with marketplace-specific READMEs
  • Code organization and maintainability
  • Parameter validation and type safety
  • Memory management with configurable limits

Fixed

  • Issues with vision model integration in conversation history
  • Error handling in search operations
  • Status update consistency across tools
  • Memory leaks in long conversations
  • Edge cases in tool routing decisions

🎯 This release focuses on reliability, debugging capabilities, and user experience while maintaining full backward compatibility with v1.0 setups.