df1e59e01c
* feat: Add OpenRouter chat completion provider adapter with custom headers. (#6436) * chore: update astrbot.service configuration * fix(core): use original version constraints instead of locking to installed version Fixes #6420 The core constraints mechanism was using the currently installed version as an exact constraint (e.g., `aiosqlite==0.21.0`), preventing plugins from installing higher versions even when they satisfy the original constraint. Changes: - Preserve original version specifier from pyproject.toml (e.g., `>=0.21.0`) - Allow plugins to require higher versions as long as they satisfy core constraint - Prevent downgrade by using `>=installed` for packages without version constraint Example: - Before: Core constraint `aiosqlite==0.21.0`, plugin requires `>=0.22.1` → BLOCKED - After: Core constraint `aiosqlite>=0.21.0`, plugin requires `>=0.22.1` → ALLOWED This enables better dependency management while still protecting core dependencies from incompatible downgrades. --------- Co-authored-by: Futureppo <luominzhi2005@qq.com> Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com> Co-authored-by: ccsang <ccsang@users.noreply.github.com>