- Fix circular dependencies in agent/tools - Migrate from custom JSON to OpenAI tool calls format - Add async streaming (step_stream, complete_stream) - Simplify prompt system and remove token counting - Add 5 new API endpoints (/health, /v1/models, /api/memory/*) - Add 3 new tools (get_torrent_by_index, add_torrent_by_index, set_language) - Fix all 500 tests and add coverage config (80% threshold) - Add comprehensive docs (README, pytest guide) BREAKING: LLM interface changed, memory injection via get_memory()
26 lines
482 B
Python
26 lines
482 B
Python
"""qBittorrent API exceptions."""
|
|
|
|
|
|
class QBittorrentError(Exception):
|
|
"""Base exception for qBittorrent-related errors."""
|
|
|
|
pass
|
|
|
|
|
|
class QBittorrentConfigurationError(QBittorrentError):
|
|
"""Raised when qBittorrent is not properly configured."""
|
|
|
|
pass
|
|
|
|
|
|
class QBittorrentAPIError(QBittorrentError):
|
|
"""Raised when qBittorrent API returns an error."""
|
|
|
|
pass
|
|
|
|
|
|
class QBittorrentAuthError(QBittorrentError):
|
|
"""Raised when authentication fails."""
|
|
|
|
pass
|