Skip to content

Release v0.1.3 - Request Filtering & Debug Improvements

Choose a tag to compare

@mmdsnb mmdsnb released this 27 Dec 18:28
· 16 commits to master since this release

🎉 What's New in v0.1.3

This release adds powerful request filtering and debugging features to help you monitor and troubleshoot API calls to your LLM providers.

✨ Key Features

🔍 Request Filtering

  • New --requests flag: Filter logs to show only API requests/responses
    freerouter logs --requests
  • Beautiful formatted output: Colored, structured display of HTTP requests and responses
  • Smart URL completion: Automatically fixes incomplete URLs in logs

🐛 Debug Mode

  • New --debug flag: Enable detailed HTTP logging for start and reload commands
    freerouter start --debug
    freerouter reload --debug
  • Real-time request inspection: See exactly what's being sent to providers

🔧 Bug Fixes

  • Fixed /v1/models endpoint returning empty list when authentication is configured
  • Fixed incomplete URL display in debug logs
  • Removed hardcoded master key checking logic
  • Fixed environment variable interference in debug mode

📈 Improvements

  • Enhanced list command to use API endpoint instead of config file
  • Improved log parsing with dedicated LogStreamFilter class
  • Better error handling and cleaner debug output

🧪 Testing

  • 134 tests passing (100% on new modules)
  • Code coverage: 80% (+3%)
  • 32 new unit tests for request log parser

📚 Documentation

📦 Installation

pip install --upgrade freerouter

🙏 Contributors

Special thanks to all contributors who helped make this release possible!


Full Changelog: v0.1.2...v0.1.3