feat: 启用 DeepSeek 群聊共享上下文#49
Open
riesaexe wants to merge 1 commit into
Open
Conversation
- Inline the modified nonebot-plugin-deepseek into src/plugins/ - Add required direct dependencies: localstore, waiter, beautifulsoup4 - Remove external git dependency on riesaexe/nonebot-plugin-deepseek - Remove nonebot_plugin_deepseek from PLUGINS list (now loaded from src/plugins) - Enable DEEPSEEK__ENABLE_GROUP_CONTEXT and set MAX_GROUP_HISTORY=20 - Exclude vendored plugin from ruff and pyright checks
riesaexe
force-pushed
the
feat/use-group-deepseek
branch
from
June 29, 2026 08:15
8b15e11 to
4e8fd45
Compare
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.
说明
本 PR 将支持群聊共享上下文的
nonebot-plugin-deepseek直接 vendor 到 BotFooChan 的src/plugins/nonebot_plugin_deepseek/,不再依赖外部 fork 或等待上游合并。改动
nonebot-plugin-deepseek源码完整放入src/plugins/nonebot_plugin_deepseek/。pyproject.toml:nonebot-plugin-deepseek的 PyPI/git 依赖。nonebot-plugin-localstore、nonebot-plugin-waiter、beautifulsoup4。src/plugins/nonebot_plugin_deepseek排除在ruff与pyright检查之外。.env:PLUGINS列表中移除nonebot_plugin_deepseek(改为由PLUGIN_DIRS=["src/plugins"]自动加载)。效果
/ds提问共用同一会话。MAX_GROUP_HISTORY条后自动保留最近的消息。/ds --reset-group-context重置当前群会话。--with-context等)保持不变。备注
nonebot_plugin_deepseek可从src.plugins.nonebot_plugin_deepseek正常加载。