Soulter

Results 37 issues of Soulter

### 描述 目前插件在禁用/重载时的销毁逻辑比较混乱,需要完善。 具体来说,需要调用插件可能实现的 `terminate()` 和 `__del__()` 方法,前者是异步函数,后者是同步的(为了插件的前向兼容性)。 ### 使用场景 _No response_ ### 你愿意提交PR吗? - [x] 是的, 我愿意提交PR! ### Code of Conduct - [x] 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。

enhancement

### 描述 提供一个用于给插件多轮对话的接口以支持更复杂的对话逻辑 ### 使用场景 _No response_ ### 你愿意提交PR吗? - [x] 是的, 我愿意提交PR! ### Code of Conduct - [x] 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。

enhancement

Hi, AstrBot is a user-friendly LLM-based multi-platform chatbot with a WebUI, and it supports RAG features, LLM agents, and plugins integration. Opensource Repo: https://github.com/Soulter/AstrBot Related docs: https://astrbot.app/config/providers/provider-ollama.html

AstrBot is a user-friendly LLM-based multi-platform chatbot with a WebUI, supporting long-term-memory, RAG, LLM agents, and plugins integration. Repo: https://github.com/Soulter/AstrBot Related docs: - [Integrating with Ollama to use DeepSeek-R1](https://astrbot.app/config/providers/provider-ollama.html#%E6%8E%A5%E5%85%A5-ollama-%E4%BD%BF%E7%94%A8-deepseek-r1-%E7%AD%89%E6%A8%A1%E5%9E%8B) -...

### 描述 #672 @ferocknew 提出的建议,转移至新 issue。 - bot 接受到用户消息以后,先自动回复一个 thinking(或者表情:🤔)。。。然后再 删除这个消息,返回AI 的内容 - 由于 AI 返回内容较慢 ,建议不要等 AI 全返回以后,而是,通过editMsg 的方法,呈现出文字流效果 - 如果启用了搜索,建议,末尾再提供一个 web search 的引用消息,方便用户查看引用网址。 ### 使用场景 _No response_ ###...

enhancement

为了让项目和社区更好地运作,在刚刚,我们使用了 [git-filter-repo](https://github.com/newren/git-filter-repo?tab=readme-ov-file) 工具清除了此仓库历史中的某些敏感数据。该操作不可避免地 [重写了所有 Git commit 历史](https://docs.github.com/zh/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)(Commit 作者未变),因此您的本地仓库副本可能已失效,需要进行相应的更新。 ### 影响范围 所有历史提交的哈希值已发生变化,旧的 commit ID 不再有效。 所有分支、标签已被重写,请勿直接基于旧版本进行推送或合并。 已克隆的本地仓库副本 将与远程仓库存在冲突,必须重新同步。 ### 解决方案 如果您本地已有该仓库的克隆版本,请执行以下操作以重新同步: ```bash git fetch --all git reset --hard origin/master # 请确保切换到正确的主分支...

### 描述 安装完插件后自动弹出插件仓库 README 对话框,以同步插件信息给用户 ### 使用场景 _No response_ ### 你愿意提交PR吗? - [ ] 是的, 我愿意提交PR! ### Code of Conduct - [x] 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。

enhancement

### Motivation 现在 AstrBot 会下载每一个 QQ 协议端下发的文件并且没有定期消费机制,长期堆积可能导致用户磁盘被占满。 ### Modifications ‼️ BREAKING CHANGE: File 消息段的 `file` 字段将可能将下发 https 协议的链接。 ### Check - [x] 😊 我的 Commit Message 符合良好的[规范](https://www.conventionalcommits.org/en/v1.0.0/#summary) - [ ]...

优化了 #1182 ### Motivation 当前 gewechat 适配器对文件、图片、语音、视频文件的发送逻辑强依赖于文件路径在 data/temp 文件夹下。对插件开发非常不友好,并且图片处理时,会将图片从原路径复制到 data/temp 下,导致文件重复。 ### Modifications 引入了一个简单的注册令牌机制,发送文件、图片、语音、视频文件前需要向回调服务注册文件并获得单次文件令牌。然后通过令牌访问文件。 此举提高了安全性、减少了副作用。 ### Check - [x] 😊 我的 Commit Message 符合良好的[规范](https://www.conventionalcommits.org/en/v1.0.0/#summary) - [x] 👀 我的更改经过良好的测试 - [x]...