fix: 使用 GitHub 版 Alconna 兼容新版 QQ 适配器#821
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #821 +/- ##
=======================================
Coverage 86.70% 86.70%
=======================================
Files 74 74
Lines 2641 2641
=======================================
Hits 2290 2290
Misses 351 351 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
nonebot-plugin-alconna切换为 GitHub 源,使用上游最新代码以兼容新版 QQ 适配器。uv.lock,同步 GitHub 源的 Alconna 版本及相关依赖解析结果。/quota命令的测试覆盖。背景
当前发布版 Alconna 尚未支持最新的 QQ 适配器,导致基于 QQ 适配器的命令测试无法正常工作。本 PR 先直接使用 GitHub 上的 Alconna 最新代码,等待上游正式发布后可再切回 PyPI 版本。
测试覆盖
新增的 QQ 适配器测试用于防止后续再次遇到类似兼容问题,覆盖:
/quota查询提示。/quota set。/quota remove。/quota remove。验证
uv run pytest tests\plugins\llm_quota\test_quota_qq.py -quv run pytest tests\plugins\llm_quota -q