Skip to content

feat: 集成r1_filter至框架 #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 1, 2025
Merged

Conversation

Raven95676
Copy link
Member

@Raven95676 Raven95676 commented Jul 1, 2025

Motivation

用户需要

Modifications

集成r1_filter至框架,并更名为thinking_filter

Check

  • 😊 我的 Commit Message 符合良好的规范
  • 👀 我的更改经过良好的测试
  • 🤓 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到了 requirements.txtpyproject.toml 文件相应位置。
  • 😮 我的更改没有引入恶意代码

好的,这是翻译成中文的 pull request 总结:

Sourcery 总结

集成 r1_filter 并将其重命名为核心框架中的 thinking_filter,并添加一个配置驱动的开关来显示或隐藏模型的内部推理。

新特性:

  • 集成一个新的 thinking_filter 插件来处理 LLM 推理内容。
  • 引入 display_reasoning_text 配置选项来切换是否在回复中显示模型的推理。

增强功能:

  • 从 ‘reasoning’ 和 ‘reasoning_content’ 字段中提取推理,以支持不同的提供商。
  • 当推理显示被禁用时,移除 <think>…</think> 标签。
Original summary in English

Summary by Sourcery

Integrate and rename the r1_filter into the core framework as thinking_filter, adding a config-driven switch to show or hide the model's internal reasoning.

New Features:

  • Integrate a new thinking_filter plugin to handle LLM reasoning content.
  • Introduce a display_reasoning_text configuration option to toggle showing the model's reasoning in replies.

Enhancements:

  • Extract reasoning from both ‘reasoning’ and ‘reasoning_content’ fields for different providers.
  • Strip out … tags when reasoning display is disabled.

Copy link
Contributor

sourcery-ai bot commented Jul 1, 2025

## 审查者指南

此 PR 通过添加新的配置标志并注册一个 Star 插件,将 R1 推理过滤器作为“thinking_filter”集成到框架中,该插件有条件地包含或删除响应中的模型推理内容。

#### provider_settings 配置更新的实体关系图

```mermaid
erDiagram
    PROVIDER_SETTINGS {
        bool display_reasoning_text
    }
    PROVIDER_SETTINGS ||--o{ THINKING_FILTER : uses

新的 thinking_filter 插件的类图

classDiagram
    class R1Filter {
        - display_reasoning_text: bool
        + __init__(context: Context)
        + resp(event: AstrMessageEvent, response: LLMResponse)
    }
    R1Filter --|> Star
    class Star {
    }
    class Context {
    }
    class AstrMessageEvent {
    }
    class LLMResponse {
        + completion_text
        + raw_completion
    }
    class ChatCompletion {
        + choices
    }
    R1Filter o-- Context
    R1Filter ..> AstrMessageEvent
    R1Filter ..> LLMResponse
    LLMResponse o-- ChatCompletion
Loading

文件级别变更

变更 详情 文件
引入 display_reasoning_text 配置标志
  • 在核心设置下添加默认布尔标志
  • 在 provider_settings 下定义模式(描述、类型、提示)
astrbot/core/config/default.py
添加 thinking_filter Star 插件以进行推理控制
  • 创建带有 @register 元数据的 Star 子类
  • init 中的上下文中读取 display_reasoning_text
  • 实现 on_llm_response 以在启用时包含推理
  • 使用正则表达式在禁用时删除 <think> 标签
packages/thinking_filter/main.py

提示和命令

与 Sourcery 交互

  • 触发新的审查: 在 pull request 上评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审查评论。
  • 从审查评论生成 GitHub issue: 通过回复审查评论,要求 Sourcery 从审查评论创建一个 issue。 您还可以回复审查评论并使用 @sourcery-ai issue 从中创建一个 issue。
  • 生成 pull request 标题: 在 pull request 标题中的任何位置写入 @sourcery-ai 以随时生成标题。 您也可以在 pull request 上评论 @sourcery-ai title 以随时(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文中的任何位置写入 @sourcery-ai summary 以随时在你想要的任何位置生成 PR 摘要。 您也可以在 pull request 上评论 @sourcery-ai summary 以随时(重新)生成摘要。
  • 生成审查者指南: 在 pull request 上评论 @sourcery-ai guide 以随时(重新)生成审查者指南。
  • 解决所有 Sourcery 评论: 在 pull request 上评论 @sourcery-ai resolve 以解决所有 Sourcery 评论。 如果您已经解决了所有评论并且不想再看到它们,这将非常有用。
  • 驳回所有 Sourcery 审查: 在 pull request 上评论 @sourcery-ai dismiss 以驳回所有现有的 Sourcery 审查。 如果你想用一个新的审查重新开始,这将特别有用 - 不要忘记评论 @sourcery-ai review 以触发一个新的审查!

自定义您的体验

访问您的 仪表板 以:

  • 启用或禁用审查功能,例如 Sourcery 生成的 pull request 摘要、审查者指南等。
  • 更改审查语言。
  • 添加、删除或编辑自定义审查说明。
  • 调整其他审查设置。

获得帮助

```
Original review guide in English

Reviewer's Guide

This PR integrates the R1 reasoning filter into the framework as “thinking_filter” by adding a new configuration flag and registering a Star plugin that conditionally includes or strips model reasoning content in responses.

Entity relationship diagram for provider_settings config update

erDiagram
    PROVIDER_SETTINGS {
        bool display_reasoning_text
    }
    PROVIDER_SETTINGS ||--o{ THINKING_FILTER : uses
Loading

Class diagram for the new thinking_filter plugin

classDiagram
    class R1Filter {
        - display_reasoning_text: bool
        + __init__(context: Context)
        + resp(event: AstrMessageEvent, response: LLMResponse)
    }
    R1Filter --|> Star
    class Star {
    }
    class Context {
    }
    class AstrMessageEvent {
    }
    class LLMResponse {
        + completion_text
        + raw_completion
    }
    class ChatCompletion {
        + choices
    }
    R1Filter o-- Context
    R1Filter ..> AstrMessageEvent
    R1Filter ..> LLMResponse
    LLMResponse o-- ChatCompletion
Loading

File-Level Changes

Change Details Files
Introduce display_reasoning_text config flag
  • Add default boolean flag under core settings
  • Define schema (description, type, hint) under provider_settings
astrbot/core/config/default.py
Add thinking_filter Star plugin for reasoning control
  • Create Star subclass with @register metadata
  • Read display_reasoning_text from context in init
  • Implement on_llm_response to include reasoning when enabled
  • Use regex to strip tags when disabled
packages/thinking_filter/main.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Raven95676 - 我已经查看了你的更改 - 这里有一些反馈:

  • 澄清或更正else分支中的注释——它对“reason_content”的引用与实际的<think>标签过滤逻辑相冲突,可能会使未来的维护者感到困惑。
  • 将推理提取和标签剥离块提取到单独的辅助函数中,以保持resp方法简洁并提高可读性。
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Clarify or correct the comment in the `else` branch—its reference to “reason_content” conflicts with the actual `<think>` tag filtering logic and may confuse future maintainers.
- Extract the reasoning‐extraction and tag‐stripping blocks into separate helper functions to keep the `resp` method concise and improve readability.

## Individual Comments

### Comment 1
<location> `packages/thinking_filter/main.py:25` </location>
<code_context>
+        )
+
+    @filter.on_llm_response()
+    async def resp(self, event: AstrMessageEvent, response: LLMResponse):
+        if self.display_reasoning_text:
+            if (
</code_context>

<issue_to_address>
Consider refactoring repeated logic into helper functions and simplifying the main method for clarity.

```python
# helper functions at top of file
def extract_reasoning(message) -> str:
    for attr in ("reasoning", "reasoning_content"):
        val = getattr(message, attr, None)
        if val:
            return val
    return ""

def strip_think_tags(text: str) -> str:
    text = re.sub(r"<think>.*?</think>", "", text, flags=re.DOTALL)
    return text.replace("<think>", "").replace("</think>", "").strip()

# simplified resp()
@filter.on_llm_response()
async def resp(self, event: AstrMessageEvent, response: LLMResponse):
    if not self.display_reasoning_text:
        # fast‐exit when not displaying reasoning
        response.completion_text = strip_think_tags(response.completion_text or "")
        return

    raw = response.raw_completion
    if not (isinstance(raw, ChatCompletion) and raw.choices):
        return

    msg = raw.choices[0].message
    reasoning = extract_reasoning(msg)
    if reasoning:
        response.completion_text = f"🤔思考:{reasoning}\n\n{msg.content}"
    else:
        response.completion_text = msg.content
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Original comment in English

Hey @Raven95676 - I've reviewed your changes - here's some feedback:

  • Clarify or correct the comment in the else branch—its reference to “reason_content” conflicts with the actual <think> tag filtering logic and may confuse future maintainers.
  • Extract the reasoning‐extraction and tag‐stripping blocks into separate helper functions to keep the resp method concise and improve readability.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Clarify or correct the comment in the `else` branch—its reference to “reason_content” conflicts with the actual `<think>` tag filtering logic and may confuse future maintainers.
- Extract the reasoning‐extraction and tag‐stripping blocks into separate helper functions to keep the `resp` method concise and improve readability.

## Individual Comments

### Comment 1
<location> `packages/thinking_filter/main.py:25` </location>
<code_context>
+        )
+
+    @filter.on_llm_response()
+    async def resp(self, event: AstrMessageEvent, response: LLMResponse):
+        if self.display_reasoning_text:
+            if (
</code_context>

<issue_to_address>
Consider refactoring repeated logic into helper functions and simplifying the main method for clarity.

```python
# helper functions at top of file
def extract_reasoning(message) -> str:
    for attr in ("reasoning", "reasoning_content"):
        val = getattr(message, attr, None)
        if val:
            return val
    return ""

def strip_think_tags(text: str) -> str:
    text = re.sub(r"<think>.*?</think>", "", text, flags=re.DOTALL)
    return text.replace("<think>", "").replace("</think>", "").strip()

# simplified resp()
@filter.on_llm_response()
async def resp(self, event: AstrMessageEvent, response: LLMResponse):
    if not self.display_reasoning_text:
        # fast‐exit when not displaying reasoning
        response.completion_text = strip_think_tags(response.completion_text or "")
        return

    raw = response.raw_completion
    if not (isinstance(raw, ChatCompletion) and raw.choices):
        return

    msg = raw.choices[0].message
    reasoning = extract_reasoning(msg)
    if reasoning:
        response.completion_text = f"🤔思考:{reasoning}\n\n{msg.content}"
    else:
        response.completion_text = msg.content
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Raven95676 Raven95676 linked an issue Jul 1, 2025 that may be closed by this pull request
2 tasks
@Raven95676 Raven95676 merged commit 5eef8fa into master Jul 1, 2025
3 checks passed
@Raven95676 Raven95676 deleted the feat/r1_filter-integration branch July 1, 2025 05:56
diudiu62 added a commit to diudiu62/AstrBot that referenced this pull request Jul 2, 2025
commit 30e8ea7fd807090f7a4c1731940549e224bcd471
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jul 1 16:59:58 2025 +0800

    chore: add deploy badge

commit 5eef8fa9b9268422353b5222d0be58aa62591cc8
Merge: 7acb45b1 d03d0354
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Tue Jul 1 13:56:01 2025 +0800

    Merge pull request #1981 from AstrBotDevs/feat/r1_filter-integration

    feat: 集成r1_filter至框架

commit d03d0354370c6a241af16a6d7da0f2a68256286a
Author: Raven95676 <Raven95676@gmail.com>
Date:   Tue Jul 1 13:53:22 2025 +0800

    perf: 合并嵌套的if条件

commit 68e8e1f70b79371f3efd0a34b6f4bbdce5405318
Author: Raven95676 <Raven95676@gmail.com>
Date:   Tue Jul 1 12:40:52 2025 +0800

    feat: 集成r1_filter至框架

commit 7acb45b157a0dc1a83425648c53308912272d361
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jul 1 11:35:14 2025 +0800

    Update README.md

commit c36142deafc72a673be48cf1a358a022440a173d
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 30 15:20:29 2025 +0800

    perf: chatpage UI

commit 5fd6e316facd6b9158799711a569a35de4e5b599
Merge: 7cfcba29 39a9d776
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 30 13:33:10 2025 +0800

    Merge pull request #1966 from railgun19457/master

    修改了一对大括号

commit 39a9d7765ac4fa555aec6af772beca18351f7a92
Author: railgun19457 <railgun19457@163.com>
Date:   Mon Jun 30 00:21:28 2025 +0800

    修改了一对大括号

commit 7cfcba29a6b8dac54724debbc6256722d194d2d8
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 21:55:13 2025 +0800

    feat: add loading state for dashboard update process

commit 9bf8aadca986b7a2660781c68369a040b8f8686a
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 21:52:45 2025 +0800

    📦 release: v3.5.18

commit 714d4af63d2d85a0bc55e288304a5e920000e9ae
Merge: 010f082f 8203fdb4
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 29 21:38:43 2025 +0800

    Merge pull request #1963 from AstrBotDevs/refactor-llm-request

    Refactor: 将 LLM Request 部分抽象为 AgentRunner 并优化多轮工具调用

commit 8203fdb4f053dbb760e6e4abd3b5fbcc05f5e0f4
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 21:35:39 2025 +0800

    fix: webchat show tool call

commit 5e1e2d1a4f49fedfbc0b220a5e82914f2113be0c
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 21:19:52 2025 +0800

    perf: 优化 ChatPage UI

commit 2f941de65bb5f0df86f60f7f1d7d012790669b36
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 21:19:40 2025 +0800

    feat: 支持展示工具使用过程

commit 777c50300298f05a3f4cd7fde69b03989a2ce95c
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sun Jun 29 17:32:53 2025 +0800

    perf: change logging level to debug for agent state transitions and LLM responses

commit e9b23f68fd87f5a9aba0850125d965b2c7b62373
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sun Jun 29 17:19:53 2025 +0800

    perf: add AgentState Enum for improved state management

commit efa45e6203e52012894c60cfeff4128a73654506
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 16:35:41 2025 +0800

    fix: validate and repair message contexts in LLMRequestSubStage

commit 638f55f83c03c7a5ca815d1927cb6ea4bb03de1b
Merge: 8b2fc29d b516fb05
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sun Jun 29 16:13:18 2025 +0800

    Merge branch 'refactor-llm-request' of https://github.com/AstrBotDevs/AstrBot into refactor-llm-request

commit 8b2fc29d5bba62335c5ab8a13b10179a07e77f64
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sun Jun 29 16:13:15 2025 +0800

    chore: remove accidentally committed file

commit b516fb05506d2b5ef8179922963fe3b3c898c6a3
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 16:12:40 2025 +0800

    chore: remove dump_plugins.py

commit efef34c01e2a4910f1650b5114a5b623aedfc255
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sun Jun 29 16:06:44 2025 +0800

    style: format code

commit 5f1dfa75995636b24208cf815635e4d07148d74a
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 15:58:22 2025 +0800

    fix: handle LLM response and execute event hook in ToolLoopAgent

commit 8e9c7544cf5dffe04ad9bf64a04314380d318bcc
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 15:54:32 2025 +0800

    fix: update type check for async generator in PipelineContext

commit 4e3d5641c813b490f2d9b162e71d7fa146a2cd23
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 15:51:56 2025 +0800

    chore: code quality

commit 20b760529e975e1277462eb79732c1c6dfcfb9a2
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 15:33:08 2025 +0800

    fix: anthropic api error when using tools

commit a55a07c5ffac41fc6e9187408c906389a0b3f451
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 29 14:43:36 2025 +0800

    remove: useless provider init params

commit 94ee8ea297e12a8a00af2b762a25e3701009dfb4
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 26 19:36:47 2025 +0800

    feat: 支持多轮次工具调用并且存储到数据库

    移除了 llm tuner 适配器

commit 010f082fbb0ddec47398397af8df906f0e9c16f2
Merge: 71b233fe 073cdf6d
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 28 21:52:01 2025 +0800

    Merge pull request #1914 from HakimYu/master

    fix(AiocqhttpAdapter): 修复at_info.get("nick", "")的错误

commit 073cdf6d51bce7e2028c78673d0e793a5c289c27
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 28 21:51:10 2025 +0800

    perf: also consider nick

commit 71b233fe5f489292f94a16858a8dbbd54bf47aef
Merge: cf1e7ee0 770dec9e
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 28 15:10:29 2025 +0800

    Merge pull request #1942 from QiChenSn/fix-CommandFilter-ParseForBool

    fix:修复commandfilter对布尔类型的解析

commit 770dec9ed677b9885c527036d9ef085f4250e242
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 28 15:08:19 2025 +0800

    fix: handle boolean parameter parsing correctly in CommandFilter

commit 2ca95a988e4635fd58d64623bff68e023d2806c6
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 28 15:05:57 2025 +0800

    fix: lint warnings

commit cf1e7ee08a77e24cd40be3c29078e5abd4b25e9c
Merge: 3c9b6547 d14513dd
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 28 14:52:09 2025 +0800

    Merge pull request #1947 from RC-CHN/master

    允许为html_render方法传递参数

commit d14513ddfd953c7e11d8ffd31ce77385841b5445
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 28 14:51:35 2025 +0800

    fix: lint warnings

commit 9a9017bc6c8881e7d5b261399895753c2d4f8894
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 28 14:46:29 2025 +0800

    perf: use union oper for merging dict

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

commit 3c9b654713dab167fba6ee0b09f3a73dbd9dfea4
Merge: 863a1ba8 80d2ad40
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 28 14:45:14 2025 +0800

    Merge pull request #1923 from Magstic/patch-1

    Fix: 仪表盘的『插件配置』中不显示 JSON 编辑窗

commit 80d2ad40bc299d92e317a71cc894803d6e4885dc
Author: Magstic <43901908+Magstic@users.noreply.github.com>
Date:   Wed Jun 25 17:55:20 2025 +0800

    fix: 仪表盘的『插件配置』中不显示 JSON 编辑窗

    该提交与 #1919 关联。

    精准定位错误 @Pine-Ln,Fix from Gemini 2.5 Pro.

    这个问题是由两个错误叠加造成的:

    1. **组件崩溃**:`AstrBotConfig.vue` 混用了 Vue 3 的 `<script setup>` 和旧式 `<script>` 写法,导致作用域冲突,模板无法访问国际化函数 `t`,引发 `ReferenceError: t is not defined`。

    2. **设置项不显示**:原代码根据用户已保存的设置数据来渲染字段,导致新增的设置项(如 `editor_mode`)因为用户配置中没有初始值而不显示。

    1. **统一 API 写法**:将整个组件重构为纯 `<script setup>` 写法,解决作用域冲突。

    2. **修正渲染逻辑**:将 `v-for` 循环改为遍历设置蓝图 (metadata) 而不是用户数据,确保所有定义的设置项都能显示。

commit f5bff00b1f449df6c7db424f3ceb644dd41f1ef1
Merge: 27c97174 863a1ba8
Author: Ruochen <1051989940@qq.com>
Date:   Fri Jun 27 17:03:58 2025 +0800

    Merge branch 'master' of https://github.com/RC-CHN/AstrBot

commit 27c97174451bb0d29f4e181b653301d0a99ac48f
Author: Ruochen <1051989940@qq.com>
Date:   Fri Jun 27 17:03:26 2025 +0800

    feat:允许html_render方法传入配置参数

commit 863a1ba8ef101bdd2f2fd53b43202bab65795d6f
Merge: 25f7a68a cb04dd2b
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Fri Jun 27 14:59:37 2025 +0800

    Merge pull request #1922 from SXP-Simon/master

    [feat] (discord_platform_adapter) 增加了对机器人 Role Mention 方法的响应,并且修复了控制面板上 Discord 平台无法优雅重载的 Bug

commit cb04dd2b83a500b78bcd3deca6337abcdc3d2f83
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 27 14:59:08 2025 +0800

    chore: remove unnecessary codes

commit 8c7cf51958ebd8ef2f31bdf1da0e418c6d3be090
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 27 14:46:23 2025 +0800

    chore: code format

commit 244fb1fed6a019c8183d30c7dcad5a3da9b75be3
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 27 14:38:31 2025 +0800

    chore: remove useless logger

commit 25f7a68a1338ed66a6a0b135fad3af2065cd1406
Merge: 1f5a7e78 62d8cf79
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Fri Jun 27 14:35:54 2025 +0800

    Merge pull request #1709 from shuiping233/fix-qq-offical-session-bug

    fix: qq_official适配器使用SessionController(会话控制)功能时机器人回复消息无法发送到聊天平台

commit 62d8cf79ef0a6e68cf62f0aa90c5b178f93b370f
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 27 14:31:35 2025 +0800

    fix: remove deprecated pre_send and post_send calls for specific platforms

commit 2f81b2e381eb6715046172d31f0abdb3d7372c27
Author: QiChenSn <2102733232@qq.com>
Date:   Fri Jun 27 02:32:10 2025 +0800

    fix:修复commandfilter对布尔类型的解析

commit 1f5a7e7885bebc368d547ef5dd59560f797d6080
Merge: 6e9d9ac8 80fca470
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Fri Jun 27 00:05:10 2025 +0800

    Merge pull request #1940 from AstrBotDevs/fix-tg-active-reply

    fix: cannot make active reply in telegram

commit 80fca470f250d50831f08c85dad4b5e08dae8999
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 27 00:04:25 2025 +0800

    fix: cannot make active reply in telegram

    Co-authored-by: youtiaoguagua <cloudcranesss@210625568+cloudcranesss@users.noreply.github.com>

commit 6e9d9ac856c8b2ed18fc0e5601746b4310ae43ab
Merge: 3e715399 8d6fada1
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 26 23:28:37 2025 +0800

    Merge pull request #1907 from IGCrystal/Branch-2

    🐞 fix(WebUI): 修复安装插件按钮不可见

commit 8d6fada1eb329038ddb721bb4f9408d6e0296077
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 26 23:25:59 2025 +0800

    feat(ExtensionPage): show confirm dialog when click install plugin button

commit 3e715399a1ecaf37276159c567fc8f537128436e
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 26 08:52:33 2025 +0800

    fix: 环境变量代理被忽略 (#1895)

commit 81cc8831f937294a9636b557b888b2f44405fee9
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 26 08:15:36 2025 +0800

    docs: update plugin issue template

    docs: issue template

    docs: update issue template

    docs: update plugin issue template

    fix: issue plugin template

    docs: update plugin issue template

commit f7370044a72ec10edeb095a1e28204e807d1ff02
Merge: 51b015a6 01ef86d6
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 25 22:49:03 2025 +0800

    Merge pull request #1903 from IGCrystal/branch-1

    ✨ feat: 对PlatformPage使用翻译键

commit 51b015a629de81bb00a3d7a96910ace320b3d6c9
Merge: 392af7a5 ccb95f80
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 25 22:46:10 2025 +0800

    Merge pull request #1830 from zhx8702/feat-wechat-tts-mp3towav

    feat: wechatpadpro 触发tts时 添加对mp3格式音频支持

commit 392af7a553a0a0b238476a67315d8cc2814bfc03
Author: Soulter <905617992@qq.com>
Date:   Wed Jun 25 22:31:44 2025 +0800

    fix: add pydub to requirements

commit d2dd07bad7df972fdf42e061440dec24a49cefba
Merge: 3d19fc89 dc279dde
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Wed Jun 25 14:05:04 2025 +0800

    Merge pull request #1920 from AstrBotDevs/feat/gemini-tts

    feat: 增加Gemini TTS API实现

commit cebcd6925a47e754dda7d027a1e22672bf3c23a3
Author: 回归天空 <sxp20061207@163.com>
Date:   Wed Jun 25 11:46:49 2025 +0800

    [fix] (discord_platform_adapter) 解决了 “Discord 平台无法优雅重载” 的 bug

    - 在通过 Web 面板或配置变更热重载 Discord 平台时,适配器的 terminate() 方法会被调用,但经常出现“卡死”或长时间无响应,导致 Discord 平台无法优雅重载。

    - 日志显示停留在“正在清理已注册的斜杠指令...”等步骤,甚至出现超时或异常。

    - 适配器的 terminate() 方法中,涉及多个异步操作(如取消 polling 任务、清理斜杠指令、关闭客户端)。

    - 某些 await 操作(如 await self.client.sync_commands() 或 await self.client.close())在网络异常、事件循环被取消等情况下,可能会阻塞或抛出 CancelledError,导致整个重载流程卡住。

    - 之前的实现没有对这些 await 操作加超时保护,也没有分步日志,难以定位具体卡点。

    - 分步日志:在 terminate() 的每个关键步骤前后都加了详细日志,便于定位卡点。

    - 超时保护:对所有关键 await 操作(如 polling 任务取消、指令清理、客户端关闭)都加了 asyncio.wait_for(..., timeout=10),防止无限阻塞。

    - 健壮性提升:先 cancel polling 任务,再清理指令,最后关闭客户端。每一步都捕获异常并输出日志,保证即使某一步失败也能继续后续清理。

    - 避免重复终止:移除了 run() 方法中的 finally: await self.terminate(),只允许外部统一调度,防止重复调用导致资源冲突或日志重复。

    - 现在 Discord 平台适配器在热重载或终止时,能优雅地依次完成所有清理步骤,不会因某一步阻塞导致整个流程卡死。

commit e7b4357fc72aa670e121e993f33dcf4ab7562d55
Author: 回归天空 <sxp20061207@163.com>
Date:   Wed Jun 25 11:41:55 2025 +0800

    [feat] (discord_platform_adapter)  增加了对机器人 Role Mention 方法的响应

commit dc279dde4ac9c2d8bcea5fd4c42213602ba9cdb4
Author: Raven95676 <Raven95676@gmail.com>
Date:   Wed Jun 25 10:55:51 2025 +0800

    fix: 简化get_audio方法中的提示文本生成逻辑,清除冗余判断逻辑

commit c0810a674fe55272455df64797c1c65ec05b7a39
Author: Raven95676 <Raven95676@gmail.com>
Date:   Wed Jun 25 10:50:04 2025 +0800

    feat: 增加Gemini TTS API实现

commit 0760cabbbe9391024e811bd64f48a2bcc77848b2
Author: HakimYu <yhjredin@gmail.com>
Date:   Tue Jun 24 17:20:30 2025 +0800

    feat(AiocqhttpAdapter): 修复reply类型的 Event.from_payload报错

commit 3b149c520b5d585c8176c35e7835477b6b0266d6
Author: HakimYu <yhjredin@gmail.com>
Date:   Tue Jun 24 16:30:23 2025 +0800

    fix(AiocqhttpAdapter): 修复at_info.get("nick", "")的错误,并在message_str中针对At类型添加QQ号

commit 3d19fc89ff83469f8975124c406797438ea959bf
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 24 02:07:23 2025 +0800

    docs: 10k star banner

commit cd1b1919f43ad0ef24e28d1106551d4c0fff2e29
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 24 01:51:46 2025 +0800

    docs: 10k star banner

commit 0ed646eb278db494c2000c2147ec4ff561fa77f5
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 23 19:41:56 2025 +0800

    🐞 fix(WebUI): 修复安装插件按钮不可见

commit c0c5859c99af404068aadb99e99df3d761291999
Merge: d9dd20e8 a47121b8
Author: 邹永赫 <62183434+zouyonghe@users.noreply.github.com>
Date:   Mon Jun 23 18:52:56 2025 +0900

    Merge pull request #1905 from zouyonghe/master

    使用定义的Plain类型代替原始基础类型str,保持代码统一性

commit a47121b849e056a5961d026d2906fbb90eeaa9ef
Author: 邹永赫 <1259085392@qq.com>
Date:   Mon Jun 23 18:49:47 2025 +0900

    使用定义的Plain类型代替原始基础类型str,保持代码统一性

commit d9dd20e89a822507d297ff2634a47fd9c465546b
Merge: cd4802da ed4609eb
Author: 邹永赫 <62183434+zouyonghe@users.noreply.github.com>
Date:   Mon Jun 23 18:20:52 2025 +0900

    Merge pull request #1904 from zouyonghe/master

    修复代码重构造成的无法向前兼容在node中发送简单文本信息的问题

commit ed4609ebe514812a719220180d2ce593f1244360
Author: 邹永赫 <1259085392@qq.com>
Date:   Mon Jun 23 18:17:37 2025 +0900

    修复代码重构造成的无法向前兼容在node中发送简单文本信息的问题

commit 01ef86d658edac880cc663e0b93bd82b92469758
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 23 14:44:06 2025 +0800

    ✨ feat: 对PlatformPage使用翻译键

commit cd4802da04943bbb408fbb1fbbc5af941c7b00c5
Merge: 2c435f73 2aca6578
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 13:30:31 2025 +0800

    Merge pull request #1902 from railgun19457/master

    修复plugin_enable配置无法保存的问题

commit 2aca65780fb34c3f09ddf6fffba6537fe09538aa
Merge: 6f098cdb 2c435f73
Author: Misaka Mikoto <117180744+railgun19457@users.noreply.github.com>
Date:   Mon Jun 23 13:29:31 2025 +0800

    Merge branch 'AstrBotDevs:master' into master

commit 2c435f7387c1311c8a8882ba78218985732e702e
Merge: cc1afd1a 9f2966ab
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 13:21:59 2025 +0800

    Merge pull request #1899 from IGCrystal/branch-1

    🐞 fix: 显示运行时长国际化

commit cc1afd1a9ccd32502babfa739c7192561df8556f
Merge: 289214e8 d03e9fb9
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 13:16:08 2025 +0800

    Merge pull request #1900 from AstrBotDevs/fix-hc-jwt

    Fix: JWT secret issue

commit 6f098cdba690d6bfd7b63b5641b907daa6d568ea
Author: railgun19457 <railgun19457@163.com>
Date:   Mon Jun 23 13:06:46 2025 +0800

    修复plugin_enable配置无法保存的问题

commit d03e9fb90a0921a1bd10cf480bdacc9aaa246472
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 23 12:36:11 2025 +0800

    fix: jwt secret

commit 9f2966abe94e898505d349e1f42a3188c32ebe1f
Merge: 4e28ea18 289214e8
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 23 12:09:10 2025 +0800

    Merge branch 'branch-1' of https://github.com/IGCrystal/AstrBot into branch-1

commit 4e28ea18839bdfaa1aa15213f81637e0398f715f
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 23 12:08:27 2025 +0800

    🐞 fix: 显示运行时长国际化

commit 289214e85c78408aa36bad8e071766b6b56175bb
Merge: 7c3d98ac a20d98bf
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 11:59:58 2025 +0800

    Merge pull request #1898 from IGCrystal/branch-1

    🐞 fix(WebUI): 修复platform的logo路径问题

commit a20d98bf93d63f7d8ad990314bda1e5fcbb5efd7
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 23 11:57:20 2025 +0800

    🐞 fix(WebUI): 修复platform的logo路径问题

commit 7c3d98acbe295dfaef433f78b7d7189bcd83456d
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 23 01:17:38 2025 +0800

    📦 release: v3.5.17

    因为 pypi 不允许上传相同的文件名的 wheel

commit 7311786f48e44694f53c53bd2a37c3e2e5438545
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 23 01:03:25 2025 +0800

    fix(dependencies): remove optional 'speed' from py-cord dependency

commit 82de9c926e69b3e23e2df9747eeea7d1905f9609
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 00:40:34 2025 +0800

    docs: update readme

commit 7fd86d4de3e6603d4d1d71b15094a07d4e847bb9
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 00:38:52 2025 +0800

    docs: update readme

commit 724da29e2a48cbedcf6b0de9734392f3560812bb
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 23 00:15:24 2025 +0800

    📦 release: bump to v3.5.16

commit 54113d7b9446b0d0210b23fe44292b59998119cc
Merge: 72be7621 66396e82
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 23 00:03:50 2025 +0800

    Merge pull request #1896 from AstrBotDevs/perf-webui-dialog-logo

    Improve: improve styles of creating adapter dialog

commit 66396e82904f79958fff1b4284b44b727a1f7805
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 23 00:01:04 2025 +0800

    perf(webui): improve styles of creating adapter dialog in platform and provider page

commit 72be76215f98a2d262a2a3e1b3f58cf550837669
Merge: ace86703 a67b7f90
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 22 22:22:33 2025 +0800

    Merge pull request #1822 from IGCrystal/branch-1

    ✨ feat(WebUI): complete dashboard internationalization system refactor

commit ace86703a927b943cae506688d9a57cdd7831623
Merge: af268777 7b254954
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 22 22:19:19 2025 +0800

    Merge pull request #1888 from HakimYu/master

    Discord 实现 SlashCommand 的注册、添加对 At 与 Reply 的支持、设置机器人 Activity

commit 7b254954631cdf9088eca90a00259a3ac6d9edb3
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 22 22:11:28 2025 +0800

    style: code quality

commit 3d4b651c1ff99dfcc3e1fd5567b3dfb19754ed2c
Author: HakimYu <yhjredin@gmail.com>
Date:   Sun Jun 22 20:33:26 2025 +0800

    fix: 修复 send_by_session 的  message_obj 为 None 的错误
    fix: 修复 determine_messagee_type 会获取到服务器id的错误,并拆分成两个函数

commit d305ae064d785b8e155eb82bb6dcbfa04ca3dabe
Merge: ac4f3d89 af268777
Author: HakimYu <61399973+HakimYu@users.noreply.github.com>
Date:   Sun Jun 22 16:29:38 2025 +0800

    Merge branch 'AstrBotDevs:master' into master

commit ac4f3d8907af7a7ce27c6fd454c3ee1d7eb59a61
Author: HakimYu <yhjredin@gmail.com>
Date:   Sun Jun 22 16:29:02 2025 +0800

    feat: 添加 Discord 斜杠指令注册功能及相关配置项
    feat: 添加 Activity 设置项
    fix: 修复 At Reply 未处理的问题

commit af2687771babfbe897454968c3f7409052dec4b4
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 22 10:38:09 2025 +0800

    ci: update dashboard ci to support pull request

commit a67b7f909a8f68571fa12a813d3c38ca013226fe
Merge: c8fe4f4a f9c3e4cd
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 22 10:28:44 2025 +0800

    Merge branch 'master' into branch-1

commit f9c3e4cdb022cd4fe5142860834d19c9f9aab156
Merge: 0441b51a dc62c1f8
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 21 23:58:07 2025 +0800

    Merge pull request #1821 from Zhalslar/gsv-tts-selfhost

    Feature: 新增 GPT_SoVIS 的 TTS 服务商

commit dc62c1f8d4444df9f7bebf65e98231d63c77d684
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:56:06 2025 +0800

    style: code format

commit 0441b51a6887ede2e82789d6210977e6565fe4b5
Merge: 8501a0c2 5c0c9f68
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 21 23:52:54 2025 +0800

    Merge pull request #1867 from lxfight/master

    Feature: 添加 Discord 平台适配器及相关组件,支持 Discord Bot 功能

commit 5c0c9f687e2987dae397ae8ce179990f8699b339
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:52:17 2025 +0800

    style: code quality

commit e049c54043d077dd73fed7bd2cb67c8ba8e595f7
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:33:58 2025 +0800

    chore: update uv.lock

commit 99e47540d5111710d87e8ad622637fc1e0478227
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:33:47 2025 +0800

    styles: code quality

commit 8e1885ffeb925701a46dc79214f40ce2405b6972
Merge: 75a28037 8501a0c2
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 21 23:21:37 2025 +0800

    Merge branch 'master' into master

commit 8501a0c205daa95c2c8c63d8fbb6c0ba79abe930
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:19:39 2025 +0800

    perf: replace slack requirements

commit 797f2a3173fc60e0714454d6d75725aee11e668b
Merge: d587bd83 1057b4bc
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 21 23:13:37 2025 +0800

    Merge pull request #1877 from AstrBotDevs/feat-adapter-slack

    Feature: Add platform adapter support for Slack

commit 1057b4bc35278c38f74f179d93754560f28cc73e
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:12:50 2025 +0800

    style: code quality

commit efc0116595dd640dc2e54a8b71d510050f7312c9
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 23:07:34 2025 +0800

    feat: Verify Slack request signature using HMAC

commit cdc560fad01df68e87a9f84d905d6b70aedd7aca
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 22:58:30 2025 +0800

    chore: remove useless codes

commit 75a28037101fca2e412332cfee98e1dd84f0c682
Author: lxfight <1686540385@qq.com>
Date:   Sat Jun 21 20:12:38 2025 +0800

    fix: 清空交互事件的 message_str,确保仅专门指令处理器响应;优化图片处理逻辑,支持多种图片来源

    - 修复了@激活机器人时,指令无法正确处理的问题
    - 修复了base64 图片无法发送的问题

    注意:本次提交的代码功能还需要针对全部功能进行一次系统完整的测试,计划与6月22日下午完成。

commit fb3169faa43f34322f9dd19e30ee7182cad0c6ae
Author: Soulter <905617992@qq.com>
Date:   Sat Jun 21 18:33:48 2025 +0800

    feat: add platform adapter support for Slack

commit d587bd837ef87627b1ff524b7774a7ff42acf210
Merge: 345afe13 65428aa4
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Fri Jun 20 23:27:27 2025 +0800

    Merge pull request #1845 from RC-CHN/master

    feat:在用户未为服务商配置key时添加二次警告确认

commit b9fab74edc900789566a240f2c605519edd903c2
Author: lxfight <1686540385@qq.com>
Date:   Fri Jun 20 21:43:23 2025 +0800

    feat: 拆分Discord 适配器的部分代码,并处理一些小的问题。

    - 基于最小权限原则,修改了 Bot 申请的权限范围
    - 拆分了代码,使得文件结构更加清晰

commit 50c22bbadb95b42c065c72b3db29b8d31b170b00
Author: lxfight <1686540385@qq.com>
Date:   Fri Jun 20 21:26:55 2025 +0800

    feat: 在 requirements.txt 中添加 py-cord[speed] 依赖

commit d0b10b9195cb86689edc5c0a2e18da4a40600689
Author: lxfight <1686540385@qq.com>
Date:   Fri Jun 20 21:22:04 2025 +0800

    feat: 添加 Discord 平台适配器及相关组件,支持 Discord Bot 功能

    - 添加了一个新的依赖 py-cord[speed]
    - 添加了针对 Discord 平台的 Discord Bot 适配器

commit c8fe4f4a3cb70ddd897ac7e404bf826e12a33c57
Merge: a8ba0720 345afe13
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Thu Jun 19 11:56:39 2025 +0800

    Merge branch 'AstrBotDevs:master' into branch-1

commit a8ba0720af97acbe4f75f7596b35a9c7738e1a55
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Thu Jun 19 11:54:27 2025 +0800

    🎈 perf: 在更新弹窗中提高关闭按钮与控制台的间距

    之前的按钮与控制台内容重叠了,就增加一点间距

commit 745a01246cd55b9d58bed76cab5fa4a5f5f33b9b
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Thu Jun 19 10:30:33 2025 +0800

    🎈 perf: 修改chat的弹窗样式

commit bee5d3550ff14aa9db41f03c6f05dd0cfede2c38
Merge: 17893931 b251ee93
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Thu Jun 19 00:52:16 2025 +0800

    Merge branch 'gsv-tts-selfhost' of https://github.com/Zhalslar/AstrBot_Zhalslar into gsv-tts-selfhost

commit 17893931514bd2b45d55d42f7b6bfb6ba08d1fce
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Thu Jun 19 00:52:03 2025 +0800

    提供initialize和terminate方法对接上游

commit 345afe1338f10e2df79ca1adeaf73ce684e702ac
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 19 00:38:23 2025 +0800

    fix: 修复 PipInstaller 中 pip 调用方式,确保使用当前 Python 解释器

commit 65428aa49fadcbdacf6f4b784fbf57e4893893c7
Author: Ruochen <1051989940@qq.com>
Date:   Wed Jun 18 23:58:09 2025 +0800

    perf: 优化服务商保存流程,并修复UI状态

commit b251ee93225b8177661b84e7978c2023f31a0a64
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 18 23:45:59 2025 +0800

    perf: 优化空文本检测

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

commit 04f00682a0c7c502e7b6fc9f920251a95b0f1ecd
Merge: 90dcda14 2c47abea
Author: Ruochen <1051989940@qq.com>
Date:   Wed Jun 18 23:43:09 2025 +0800

    Merge branch 'master' of https://github.com/RC-CHN/AstrBot

commit 90dcda1475ded63a3f0a779f42bb8aea09aaf968
Author: Ruochen <1051989940@qq.com>
Date:   Wed Jun 18 23:41:07 2025 +0800

    feat:在用户未为服务商配置key时添加二次警告确认

commit f1ee4eb89f3731909c96e58dc018e61a76ea134b
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Wed Jun 18 21:00:28 2025 +0800

    🐞 fix: 修改录音键位为Ctrl+B

    Ctrl+A太常用了就修改了

commit 343fc2216827934fed85bfeb076c1d56c5d3b397
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Wed Jun 18 17:58:15 2025 +0800

    🎈 perf: 修改chat中录音的键位防止误触

    修改键位为Ctrl + A ,以及还加入SSE断连提示

commit 00ef0d7e3dbdda13c3da6449a33c30906430e3ba
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Wed Jun 18 16:24:18 2025 +0800

    🐞 fix: 修复无法实时显示消息

    修复chat与chatbox之间切换后sse断开连接导致无法实时显示消息

commit f2deaf619969bbe5c261d1041f9eebf417eb32af
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Wed Jun 18 00:47:43 2025 +0800

    🎈 perf: 修改滚动条样式

commit 617a2c010e11911ef5aa7500b59d46c1cc991499
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Tue Jun 17 22:20:48 2025 +0800

    🎈 perf: 优化登录页面样式

    处理的是分隔线的样式

commit 38eae1d1eeea18ff373290a2d2107e7c04ed8d7b
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Tue Jun 17 12:22:00 2025 +0800

    🐞 fix: 进一步的检查与校准

commit 7e4c89b0cb9da47a98a6d1d962d55f6366c91e3e
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Tue Jun 17 11:10:21 2025 +0800

    🦄 refactor(i18n): replace manual types with auto-inference

    - Migrate from manual TypeScript interfaces to automatic type generation
    from JSON files. Eliminates sync issues and maintenance overhead.

commit 14c29f07bd0c6552083cad17e342e022bb9d95f4
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Tue Jun 17 10:55:35 2025 +0800

    优化

commit 825e3dbcf53b9bc9a0b830724f06fa4743370d55
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Tue Jun 17 09:44:09 2025 +0800

    Update default.py

commit 8275130f04847962a1de421eae5edf32f5d4bdb6
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Tue Jun 17 09:24:51 2025 +0800

    ✨ feat: 继续完成剩下的组件

    - AlkaidPage_sigma.vue
    - PlatformPage.vue
    - LongTermMemory.vue
    - KnowledgeBase.vue

commit 2c47abea95b2166754fdbab38209ebb70ec7404c
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 16 23:36:11 2025 +0800

    fix: 修复 WeChatPadPro 下,开启了会话隔离后,无法发送群聊消息的问题

    fixes: #1766

commit 85aa28d724ee9f30a682350c69d68fcef61e082c
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 16 23:27:29 2025 +0800

    perf: print traceback

commit 53a3736b043ebd2ff51f6dd82b70bbba9627eeb7
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 16 23:26:22 2025 +0800

    fix: 修复可能的类型错误

    fixes: #1778

commit 86ba3c230e55c645befe4c25d90f049e85a75aac
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 16 23:21:53 2025 +0800

    perf: 弱化 WeChatPadPro 的 WS 连接提示

    fixes: #1779

commit 8d21126bd63f90aeecaf36ab9fe91d1eb9ceb8c9
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 16 23:18:45 2025 +0800

    fix: 修复 WeChatPadPro 会话隔离模式下,会话 ID 显示为自身ID 的问题

commit 74ded9197632b32fa47c5d84405c151717d0f14b
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 16 23:07:05 2025 +0800

    fix: 修复 WeChatPadPro 过期后无法正常的重新登录的问题。

commit 7c27520d579596f14f7d4efe840cee1bc3ed8eb9
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 22:44:44 2025 +0800

    ✨ feat: 继续完成剩下组件的国际化

    ExtensionCard.vue - 插件卡片组件 WaitingForRestart.vue - 重启等待组件 ReadmeDialog.vue - README对话框组件 AstrBotConfig.vue - 配置编辑器组件 ListConfigItem.vue - 列表配置项组件 ItemCardGrid.vue - 卡片网格组件
    ChatPage.vue - 聊天页面的录音提示文本 ConfigPage.vue - 配置页面的状态消息 ExtensionPage.vue - 插件页面的加载和状态文本 OnlineTime.vue - 仪表板运行时间组件

commit b54bbc4c5af58d6187555b2b3dad289c3107cd29
Merge: 95bd2f26 3e09a4dd
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 16 21:56:17 2025 +0800

    Merge pull request #1810 from Zhalslar/reply-bot-waking

    feat:支持通过引用bot消息来唤醒bot

commit 3e09a4ddd4b77edd793e3a18e63bb9e997bb15e1
Merge: f93f04a5 95bd2f26
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 16 21:55:50 2025 +0800

    Merge branch 'master' into reply-bot-waking

commit f93f04a5362ab51367180c19c05016c2844122bb
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Sat Jun 14 15:01:18 2025 +0800

    feat:支持通过引用bot消息来唤醒bot

    Update dingtalk_event.py

    Update stage.py

commit b93f30b809d0404ad40a67c8d611e7ea11a1fcce
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 14 02:09:06 2025 +0800

    docs: update readme

commit 95bd2f26a5f9501c1df270fe2aab2e4a2d6bce47
Merge: 1b1f5f5a c7891385
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 16 21:41:50 2025 +0800

    Merge pull request #1812 from Zhalslar/dingtalk-image-to-url

    feat:钉钉发图时自动将非HTTP图片注册成URL

commit 7cfcf056f9db9299b2ae2354845fec85b4ae4f1a
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 21:36:23 2025 +0800

    🎈 perf: 使用 hash 路由模式以避免404

commit 96b565e1e88bf2aebcc92fe71737cd72de80fb7c
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 21:05:20 2025 +0800

    🎈 perf: comprehensive dashboard improvements

    - Enhance i18n error handling and code quality - Fix SSE data processing in chat page - Improve responsive design for extension page - Add better debugging tools for development"

commit 9d7ad7a18f40942f1e6233635a6a1b6ad1127dae
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 20:14:00 2025 +0800

    🐞 fix(i18n): resolve translation loading issues in production build

commit 9838c2758ba220935adb64c8ed1861d1d370c79e
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 19:08:19 2025 +0800

    🐞 fix: resolve vue-i18n module augme

commit 1b1f5f5a5e62ba0561a95d68d31b6f07037c8c38
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 16 19:06:46 2025 +0800

    docs(README.md): update logo

commit 0f95f62aa1db84ac3426a590fee3e1bc9068a19e
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 13:53:33 2025 +0800

    ✨ feat: 完成仪表板国际化系统重构

    ✨ 核心特性:
    - 实现模块化i18n架构,支持22个功能模块
    - 完成中英双语翻译文件(44个翻译文件)
    - 新增懒加载翻译模块,提升性能
    - 类型安全的翻译键值验证系统

    🌐 国际化覆盖:
    - 所有主要页面(15+)完成国际化
    - 导航侧边栏、顶栏、共享组件全部支持
    - 仪表板统计组件完整国际化
    - 登录页面及认证流程完整国际化

    🎨 UI/UX 优化:
    - 统一顶栏按钮样式(语言切换+主题切换)
    - 移动端登录页采用全屏设计
    - Logo组件智能换行支持中英文
    - 响应式语言切换组件

    📱 移动端适配:
    - 登录卡片移动端全屏布局
    - 悬浮工具栏底部固定定位
    - 触摸友好的交互设计
    - 多设备响应式支持

    🔧 技术改进:
    - 模块化翻译文件结构 (core/*, features/*)
    - 懒加载机制减少初始包体积
    - TypeScript类型定义完整
    - 翻译键值自动验证

commit 9405ba78711351514d7bb5875c8a9acaf4fbc9fe
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Mon Jun 16 13:45:50 2025 +0800

    feat:新增GPT_SoVIS适配器

commit ccb95f803c1936d9437227446067ad19a9305d9f
Author: zhx <zhanghuaxiang@supconit.com>
Date:   Mon Jun 16 10:05:21 2025 +0800

    feat: wechatpadpro 发送tts时 添加对mp3格式音频支持

commit 60b2ff0a7a29c0d7daa74fd6dbdd6ea79886f16f
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Mon Jun 16 00:47:41 2025 +0800

    🐞 fix: 修复iframe跳转问题

commit e6c850737977da89841209ff74abad43dd0e8b6f
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Sun Jun 15 23:19:46 2025 +0800

    📃 docs: 删除i18n的叙述

commit 420db5416e15712bf80c6de53ccaa7edc131de1b
Merge: 6e03218d b2c382fa
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Sun Jun 15 23:16:25 2025 +0800

    Merge branch 'branch-1' of https://github.com/IGCrystal/AstrBot into branch-1

commit 6e03218d5401982e0a5cc98f8400a373510a32d3
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Sun Jun 15 22:42:43 2025 +0800

    ✨ feat: 多语言国际化支持

commit 5e4bd36b26fd6e3f1b8aea5c1617962921da6c0f
Merge: 075b0087 bbc03936
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Sun Jun 15 23:07:03 2025 +0800

    Merge branch 'master' of https://github.com/AstrBotDevs/AstrBot

commit bbc039366ee5205783228f3cbf2314f998cd70f2
Merge: c5f9b586 e1ec7dbb
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 15 22:51:55 2025 +0800

    Merge pull request #1816 from AstrBotDevs/refactor-webui-merge-extension-page

    refactor(webui): 将插件市场与插件管理合并

commit e1ec7dbbba4f3a08df9b33c9f51c3c9e673e5bd9
Author: Soulter <905617992@qq.com>
Date:   Sun Jun 15 22:50:06 2025 +0800

    refactor(webui): 将插件市场与插件管理合并

commit 075b008740715861885aa8737d916ad67fc04097
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Sun Jun 15 22:45:28 2025 +0800

    🐞 fix: 错误修复和代码健壮性

    - 在 KnowledgeBase.vue 中修正无效的 v-class 指令为 class 属性的问题
    - 在 ConsoleDisplayer.vue 中修正 historyNum 属性类型不匹配的问题
    - 解决控制台中的 Vue 警告信息
    - 在访问 status 前对 err.response 进行空值检查
    - 防止“无法读取未定义对象的属性”错误
    - 提高 catch 块中错误处理的健壮性
    - 对 API 响应数据进行空值检查
    - 在处理之前确保数组类型验证
    - 修复“无法读取 null 对象的属性”错误
    - 改进 beforeUnmount 生命周期中的 D3.js 清理工作
    - 对图形数据处理添加防御性编程

commit b2c382fa016b6405c4311e33f4cc44b18cfd298c
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Sun Jun 15 22:42:43 2025 +0800

    ✨ feat: 多语言国际化支持

commit c5f9b5861f24b35a520a15405e3c2130d3c132b1
Merge: 2dace4c6 b5af7d1e
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 15 21:22:23 2025 +0800

    Merge pull request #1804 from RC-CHN/master

    feat:优化聊天页面的UI和UX

commit 2dace4c697d29d42f0083db1cc93e97100a2908d
Merge: 403b6183 64245d00
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sun Jun 15 21:15:31 2025 +0800

    Merge pull request #1801 from IGCrystal/master

    🎈 perf: 优化登录界面样式和侧边栏样式

commit c7891385ca4f238df4bdc8833bb7055c31c5c577
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Sat Jun 14 21:44:37 2025 +0800

    Update dingtalk_event.py

commit 2059ddcadfa47eccda759822e8f8001ebed7a584
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Sat Jun 14 21:39:33 2025 +0800

    Update dingtalk_event.py

commit ba1b68df20e0ebb88253f8eeb96f5a8da441d8c7
Author: Zhalslar <zsl2936169201@gmail.com>
Date:   Sat Jun 14 21:23:45 2025 +0800

    Update dingtalk_event.py

commit 403b61836dc0abf308af383b4cd3ea647e098f8a
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 14 02:09:06 2025 +0800

    docs: update readme

commit b5af7d1eb91404171dfbc7a207a3f188f03fce40
Author: Ruochen <1051989940@qq.com>
Date:   Fri Jun 13 23:11:09 2025 +0800

    为chatbox模式添加了夜间模式切换

commit f453af6e4c837b9bffa1a8c7d91d4a8c214c4d1c
Author: Ruochen <1051989940@qq.com>
Date:   Fri Jun 13 21:30:56 2025 +0800

    feat:优化聊天页面的UI和UX

commit 64245d001ce3afc86cfd04acef4168653d9ce174
Merge: 7d92965c d4e95668
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Fri Jun 13 00:59:21 2025 +0800

    Merge branch 'AstrBotDevs:master' into master

commit 7d92965cae9fde325a721ad85b49dfdfe79c7d43
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Thu Jun 12 23:51:44 2025 +0800

    🎈 perf: 优化侧边栏样式

commit b4fa08c4e2346f5c9e76b659a34deb4c233ace6e
Author: IGCrystal <IGCrystal@wenturc.com>
Date:   Thu Jun 12 23:26:01 2025 +0800

    🎈 perf: 优化登录界面样式

commit d4e956685194d80edde42b8ff126dc823ec8f707
Merge: b84e22e4 a26b494f
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 12 23:02:22 2025 +0800

    Merge pull request #1800 from AstrBotDevs/feat-weixinkefu-record

    feat: 微信客服支持语音的收发

commit a26b494f7f721124ed76b566b21c2b9ee9a57f02
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 12 10:57:16 2025 -0400

    feat: 微信客服支持语音的收发

    fixes: #1794

commit b84e22e41f3ce82984552e6bf43174412c8d6bd6
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 12 14:07:23 2025 +0800

    fix: separate provider

    fixes #1793

commit cee6efab1988aa1cf55e922a2f765c7e281a1947
Merge: 30f71cb5 e7f35098
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 11 22:33:14 2025 +0800

    Merge pull request #1783 from Kwicxy/fix

    fix(readmeDialog): 修复了readme对话框内markdown渲染样式问题

commit 30f71cb550181dfdbbcdcc5845388461a3f9a129
Merge: 16ec462a 771e755a
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 11 22:26:07 2025 +0800

    Merge pull request #1791 from AstrBotDevs/feat-dify-user-param

    Feature: supports dify user param

commit 771e755a781e01d70f575aa3a681049dfef4654f
Author: Soulter <905617992@qq.com>
Date:   Wed Jun 11 22:25:10 2025 +0800

    feat: supports dify user param

commit 16ec462abd71741e133c1c75502a43772c03aac9
Author: Soulter <905617992@qq.com>
Date:   Wed Jun 11 00:51:18 2025 +0800

    feat: WebUI ProviderPage 添加服务提供商会话隔离设置功能

commit ca55465d3ce6617677df339ab4930740b154101c
Author: Soulter <905617992@qq.com>
Date:   Wed Jun 11 00:32:46 2025 +0800

    chore: bump to 3.5.15

commit 7098c98dde16f1823929e62b0caed482cc54a4f5
Author: Soulter <905617992@qq.com>
Date:   Wed Jun 11 00:25:14 2025 +0800

    fix: 修复 Windows 下部署项目时可能出现的 UnicodeDecodeError

    fixes: #1548

commit f56355da8985a7fd64d48c78ca72d01a768e58a5
Author: Soulter <905617992@qq.com>
Date:   Wed Jun 11 00:06:14 2025 +0800

    perf: 分段回复时,仅在输出的第一句话带上回复/引用

    fixes: #521

commit 422160debd3eab58c99449059d7ba0c36521ba94
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 23:55:50 2025 +0800

    feat: 支持配置是否忽略@全体成员

    fixes: #292

commit 8062cf406a2ee7df6d951687c8cef08356dcb1d7
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 23:30:58 2025 +0800

    fix: 优化配置完整性检查,同时保证配置项顺序的一致性

commit 0e802232ec58a704332cb6605b72838ff95cdfaf
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 23:29:45 2025 +0800

    feat: 新配置项,支持配置只@触发等待时是否回复

commit f650a9205dee0be4991aaa8ed7add0bb1d0f7ee0
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 22:43:58 2025 +0800

    perf(webui): 优化手机端的显示

commit c85dbb23478bafab577be6961afa904c7ebf6e6f
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 22:26:11 2025 +0800

    fix: 修复某些情况下,会话控制无效的问题

commit a6a79128c85de144d7d39f770b989eec214f7fd9
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 22:18:05 2025 +0800

    chore: bump to v3.5.15

commit 42839627e82ece990dbfa7c2cf2108f2e4976a07
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 22:12:46 2025 +0800

    fix: 修复在设置了 GitHub 加速地址后,插件无法更新的问题

commit e7f35098e41f0aeeab7a65a396b655dade17ecf9
Author: Richard X. <ones_republic@foxmail.com>
Date:   Tue Jun 10 21:46:35 2025 +0800

    fix(readmeDialog): Fix readme dialog markdown rendering over different appearances.

    Fix readme dialog markdown rendering over different appearances.

commit 267e68a894404d32f4a595ab3e7bd5c09889fe6b
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 21:40:12 2025 +0800

    chore: bump docker image python version to 3.11

commit b32b444438c6163697b51c72fa4fcac0b7e31641
Merge: 124eb048 522d0f83
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 10 21:34:17 2025 +0800

    Merge pull request #1776 from AstrBotDevs/feat-webchat-title

    Feature: 支持重命名和自动生成 WebChat title;WebChat Route 和 UI 优化;支持 WebChatBox

commit 522d0f8313b43dfc2b9bf47ad0965c12656f7502
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 21:33:53 2025 +0800

    chore: ts lint

commit 5715e5de67ebdf62e737ebfdc8d4fd13197702b9
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 21:28:06 2025 +0800

    chore: fix ts lint

commit cc6b05e8b37fb4bc7a3d783c38767b8b754bec1e
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 21:25:58 2025 +0800

    fix: remove fallback for returnUrl in AuthLogin.vue

commit 417747d5d0bf7a126013f3e508a32ef21374a2fb
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 21:21:38 2025 +0800

    feat: handle unauthorized access by redirecting to login page in ChatPage

commit a34f439226039429def142c4c5fb714c3a931e8d
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 18:36:26 2025 +0800

    fix: update summary output condition and adjust max-width in ChatBoxPage

commit b7ca014fd08454ebfe93e19cfee34e2aeb0ccd37
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 15:45:06 2025 +0800

    feat: enhance routing to support chatbox and improve path handling in ChatPage

commit fa098d585a649a06b6d0778df7de965affaaacaf
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 15:39:26 2025 +0800

    feat: add conversation detail routing and handle direct navigation in ChatPage

commit c35a14e3ec47492ed2046cd97089c128e906ea5e
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 15:06:33 2025 +0800

    fix: adjust padding and clean up unused code in ChatPage.vue

commit 60651736a537dc55d49ace93c28ce6cb7a13eb0e
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 15:02:18 2025 +0800

    feat: chatbox page

commit 581f9b7bd3c0185cb26ee1ae912334d9b678ead0
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 10 13:02:30 2025 +0800

    fix: typo fix

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

commit 124eb048077e8aa558f22ac58222ead063bda3bd
Merge: 445c40f7 1d561da7
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 10 12:59:42 2025 +0800

    Merge pull request #1773 from AstrBotDevs/feat-seperate-provider

    Feature: 支持对提供商会话隔离

commit 1d561da7fb137dd2c49a7af552456d14902f33db
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 10 12:59:20 2025 +0800

    style: clean code

    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

commit 16e3cd07844ac2ac11f8e5e079cb37fc8ebc8a95
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 10 12:58:39 2025 +0800

    fix: get_using_stt_provider is fetching using ProviderType.TEXT_TO_SPEECH but should use ProviderType.SPEECH_TO_TEXT for STT isolation.

    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

commit a6d91933dcee1de5d3c01dd812ad5523e333c9aa
Author: Soulter <905617992@qq.com>
Date:   Tue Jun 10 10:58:49 2025 +0800

    feat: 支持自动生成webchat title

commit 445c40f75805029ec1367c1cd76f194883ab514b
Author: Raven95676 <Raven95676@gmail.com>
Date:   Tue Jun 10 10:29:31 2025 +0800

    chore: update version

commit 725a841a3b3bd0bc9d32501b8baff154bb886c50
Merge: ba6718d5 f77c4538
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Tue Jun 10 08:22:41 2025 +0800

    Merge pull request #1767 from AstrBotDevs/fix/1678

    Fix: 调整Gemini原生工具启用行为

commit f77c4538433ecb15349511a7b8e5ce31cf22dd55
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Tue Jun 10 00:20:35 2025 +0000

    fix: clean code

commit ba6718d5bcfce886c0c91158b2ee06f557f07d05
Merge: a3ffecbb 9713f964
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 10 00:06:34 2025 +0800

    Merge pull request #1759 from Flartiny/dev

    Feature: Add GreedyStr parameter support for commands

commit cdb7a1b3fa06f647b5cd0be76fd7342142c81303
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 23:54:51 2025 +0800

    style: merge else if into elif

commit a03c79b89d588ed7482aa323c1534109c9ace307
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 23:51:54 2025 +0800

    style: use named expression

commit 98800d3426246207c635fcd9f5db17491eaa8cee
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 23:50:31 2025 +0800

    fix(typo): "seperate_provider" -> "separate_provider"

commit a616adaac482ec5284915e016d72e8ba67f93e69
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 23:46:44 2025 +0800

    fix: update provider manager set_provider()

commit ffb5605c999224575d674f9011db4c2f41422a86
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 9 23:38:15 2025 +0800

    fix: default tts provider selection

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

commit 621b556856dab964da0c460921eeb9739dbe3728
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 23:33:00 2025 +0800

    ✨ feat: 支持对提供商会话隔离

    fixes: #1762 #602 #479

commit a3ffecbb2a0397f972daf57e7345d9eb7c4c369f
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 14:43:05 2025 +0800

    feat: add support for gemini_embedding provider

commit ea64cebe2a48cd73bed46ea27a08918589bd4cd9
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 13:12:09 2025 +0800

    ci: fix cloudflare r2 ci

commit e79487dd5f8a12ea9691c6c460cdb3ffdc8e0beb
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Mon Jun 9 05:03:15 2025 +0000

    fix: add missing config

commit 7fe1c1ec890f2f4970101a22ef26c8c3192500d2
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Mon Jun 9 04:54:24 2025 +0000

    feat: add URL context feature to Gemini model configuration

commit ab2bbff36984be34889c5aaff754ddaffa68862f
Merge: ec328253 19022d67
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 9 12:51:08 2025 +0800

    Merge pull request #1746 from Seayon/fix-wechat-at-message-parsing

    ✨ feat(wechatpadpro): 增强群聊消息中的@消息处理逻辑

commit ec32825309fc3b8cb4e4a0258b0a67a285c7928b
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 9 12:41:20 2025 +0800

    ci: fix cloudflare r2 upload

commit fd0c182087aacbd502b02ae8a5f241ac6b753bf0
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 12:32:38 2025 +0800

    ci: fix ghcr token

commit 49fcff1daff6bb391ee1947f46b57e3e7f1b1fb8
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 12:31:02 2025 +0800

    📦 release: v3.5.14

commit 33b64ddf39ea03c46b07b6e0f09a376b6cec50ed
Author: 鸦羽 <Raven95676@gmail.com>
Date:   Mon Jun 9 03:55:59 2025 +0000

    feat: enhance tool selection logic for Gemini model versions

commit 4c447aa648f5d6ffd71ab72960242ca9ca1067c3
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 11:52:48 2025 +0800

    perf: jwt token expire time change to 7 days

commit ccbfc3d27471819fb940898a83eca6a22e78a651
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 9 11:47:23 2025 +0800

    perf: 强化强制修改默认密码逻辑

commit f83fe43bbb56f93cbca98dadc49eb3ed1ef4fe29
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Mon Jun 9 10:12:09 2025 +0800

    docs: alert

commit 19022d67f87ed9fd75a9e847aa0388e3805e457d
Merge: a9dbff75 58a815dd
Author: Seayon <153660639@qq.com>
Date:   Mon Jun 9 09:30:09 2025 +0800

    Merge branch 'master' into fix-wechat-at-message-parsing

commit 58a815dd6b46fc4189c20ae8201260d49d1f2968
Author: Soulter <905617992@qq.com>
Date:   Mon Jun 2 09:29:58 2025 +0800

    feat: ltm edge fact viewer

commit 1ce95c473d89913706fa2d1fbb70f8782044b1f0
Author: shuiping233 <1944680304@qq.com>
Date:   Sun Jun 8 10:19:37 2025 +0800

    fix : 在stage.py中专门对qq_official的会话控制器消息进行处理

commit eb365e398d98bc3dfa2ca6353a34fe3586b4e9fe
Author: shuiping233 <1944680304@qq.com>
Date:   Mon Jun 2 14:20:40 2025 +0800

    fix: qq_official适配器使用SessionController(会话控制)功能时机器人回复消息无法发送到聊天平台

commit bc9fe828601354a2defcb22c2cf0e8db467fbc45
Merge: b3cd9bf2 0d5825bd
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 7 15:13:10 2025 +0800

    Merge pull request #1737 from zhx8702/feat-wehcatpro-voice-adapter

    feat: wechatpadpro 添加语音接收和发送的适配

commit b3cd9bf2b9f700511b8220e89186ccedf15333a5
Merge: c5c2b829 a6aba10d
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 7 15:11:16 2025 +0800

    Merge pull request #1743 from lvboda/hotfix-platform-page-iframe-style-issue-1741

    fix(PlatformPage): iframe overflow style issue (#1741)

commit c5c2b829ec13c2937073c42630a989eb3aa24ae1
Merge: 7d403aa1 11f35ebf
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 7 15:08:37 2025 +0800

    Merge pull request #1758 from RC-CHN/master

    fix: 修复 asyncio.wait_for 参数顺序错误

commit 9713f96401cc68d518d5f9a4426ba4f580ab0bc3
Author: Flartiny <1335348298@qq.com>
Date:   Sat Jun 7 10:32:31 2025 +0800

    feat: Add greedy parameter support for commands

commit 11f35ebf96984fdc9e56fea88382a80e951e8af7
Author: Ruochen <1051989940@qq.com>
Date:   Sat Jun 7 09:50:30 2025 +0800

    fix: 修复 asyncio.wait_for 参数顺序错误

commit 7d403aa1812f7df633751af334ad02f41172f3f4
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat Jun 7 01:20:56 2025 +0800

    fix: syntax error

commit 64af810a4a8f5bd4671c932f3a1ec62201a141c9
Merge: 6ab6c0fd 30821905
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Fri Jun 6 21:37:19 2025 +0800

    Merge pull request #1736 from RC-CHN/master

    fix:修复了部分模型供应商测试不可用,但实际可用的问题。

commit 30821905af3ed5783dae28014262cda944c7974e
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 6 21:36:01 2025 +0800

    perf: remove default list param,fix dashscope_source contexts params

commit a9dbff756b14063ad095ae012db4cd59613f98ca
Author: Seayon <153660639@qq.com>
Date:   Fri Jun 6 16:53:31 2025 +0800

    ✨ feat(wechatpadpro): 增强群聊消息中的@消息处理逻辑

    添加对群聊消息中@机器人场景的精确识别和处理,提升了消息解析的准确性。
    支持多种@格式的检测,包括 msg_source 和 push_content 的判断。

commit a6aba10d3d27474df6530ddb5362aaed346edc6a
Author: lvboda <lvboda705@gmail.com>
Date:   Fri Jun 6 15:18:35 2025 +0800

    fix(PlatformPage): iframe overflow style issue (#1741)

commit 9c276c37fee1f3c45691a65db534cfa9a7510d52
Author: RC-CHN <67079377+RC-CHN@users.noreply.github.com>
Date:   Fri Jun 6 14:01:58 2025 +0800

    Update astrbot/dashboard/routes/config.py

    测试过对于dashscope类型供应商添加上下文是必要的,否则需要改动其_remove_image_from_context方法。

    Co-authored-by: Soulter  <37870767+Soulter@users.noreply.github.com>

commit 6ab6c0fd4c97aa4d610995c4ce782e4a5f9f660f
Merge: a03af55e b6b0fe3f
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Fri Jun 6 12:44:51 2025 +0800

    Merge pull request #1735 from Flartiny/dev

    feat: able to parse repo url of specific branch

commit b6b0fe3fff0aa485a7adf9f311bd8e4b7b6c8862
Author: Soulter <905617992@qq.com>
Date:   Fri Jun 6 12:02:46 2025 +0800

    perf: 优化 GitHub 仓库解析和下载的逻辑

commit 0d5825bda904910c54123a8f13549a38393b7a5a
Author: zhx <zhanghuaxiang@supconit.com>
Date:   Fri Jun 6 09:34:25 2025 +0800

    feat: wechatpadpro 添加语音接收和发送的适配

commit cdfb64631ab8eb38fc70bf486723f3f02b217337
Author: Ruochen <1051989940@qq.com>
Date:   Fri Jun 6 09:21:09 2025 +0800

    fix:修复dashscope类型供应商测试问题,延长了设置超时时间,改进prompt工程,修复了控制台打印日志超时时间不符

commit d161c281c83eab23e35b103cca6b19c62f9ee0be
Merge: 6e144990 a03af55e
Author: Ruochen <1051989940@qq.com>
Date:   Fri Jun 6 00:39:25 2025 +0800

    Merge branch 'master' of https://github.com/RC-CHN/AstrBot

commit 8fed5bf2a171dc74cbe4652c5636d657163a6278
Author: Flartiny <1335348298@qq.com>
Date:   Fri Jun 6 00:09:10 2025 +0800

    feat: able to parse repo url of specific branch

commit 98d2e9bd270210f91ebaf6be8c023d41d2875100
Author: Soulter <905617992@qq.com>
Date:   Thu Jun 5 23:30:18 2025 +0800

    chore: stage

commit a03af55edd1d7c4c94f17001ae8d38ea240bbd1f
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 5 13:38:20 2025 +0800

    ci

commit 86e2fd9aee7459a9a9d71faf9c30e64e141359cd
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 5 13:35:14 2025 +0800

    ci: publish to ghcr.io

commit 97bd0e5e588a2a5abaa1cc8db82de6bdfe8d7202
Merge: ceaba219 8c929f6e
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 5 11:39:32 2025 +0800

    Merge pull request #1730 from lxfight/master

    feat: 添加插件更新后自动刷新插件列表功能

commit ceaba21986286398a046425da012082e89c53477
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 5 11:19:16 2025 +0800

    ci: publish to ghcr.io

commit 172a77d9429a7f6a76022225aed5845b780ce723
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 5 11:16:57 2025 +0800

    ci: publish to ghcr.io

commit 4f9d2d2a7d160264234d50c006e2ce01eeb356fd
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Thu Jun 5 11:12:56 2025 +0800

    ci: publish to ghcr.io

commit 8c929f6e0509fdfcb6e9fd26ce38cdfb0f2a8029
Author: lxfight <1686540385@qq.com>
Date:   Thu Jun 5 10:56:04 2025 +0800

    feat: 添加插件更新后自动刷新插件列表功能

commit 3319b71f5b7ec03570d2249501255622a722c171
Merge: 46ec028a 60ca1efb
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 4 22:52:29 2025 +0800

    Merge pull request #1721 from zhx8702/feat-add-wechat-47-49

    feat: 添加wechatpadpro 消息类型47 49的适配

commit 46ec028a5b7962c4b920e115d7b1c9a2b95b9b2c
Merge: 0ce0ef3e 375b071c
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 4 22:48:49 2025 +0800

    Merge pull request #1718 from Kwicxy/webui_enhancement

    feat: webUI优化

commit 0ce0ef3e5cf665b9d80bcc1b27c740308eaec7bd
Merge: bb1dec76 f618b8fc
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Wed Jun 4 22:32:19 2025 +0800

    Merge pull request #1715 from Flartiny/dev

    fix: residual configuration items after plugin configuration modification

commit 375b071cb280238e14d3cccdcedb360356b9ff7d
Merge: 29e1417f 2692e497
Author: kwicxy <ones_republic@foxmail.com>
Date:   Wed Jun 4 19:00:54 2025 +0800

    Merge remote-tracking branch 'origin/webui_enhancement' into webui_enhancement

commit 29e1417ff2b45dda00ba6018054b95386747e44b
Author: kwicxy <ones_republic@foxmail.com>
Date:   Wed Jun 4 18:59:38 2025 +0800

    feat: optional `newUsername` field in account editing

commit 75db2bd366ce416704fbb9229762507f870bd9ff
Author: kwicxy <ones_republic@foxmail.com>
Date:   Wed Jun 4 18:58:53 2025 +0800

    fix(auth): bad `localStorage` keymapping

commit 60ca1efbda49e3146bba5ab2cbd40f3e42737ca5
Author: zhx <zhanghuaxiang@supconit.com>
Date:   Wed Jun 4 13:51:24 2025 +0800

    feat: 添加wechatpadpro 消息类型47 49的适配

commit 2692e4978bc7aae687fd3109b1585bd512a84783
Author: Richard X. <ones_republic@foxmail.com>
Date:   Tue Jun 3 21:06:51 2025 +0800

    fix: remove `console.log()`

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

commit 91982eb0029e8549663b2867d9267f78d034699e
Merge: ea1f9cb3 bb1dec76
Author: Richard X. <ones_republic@foxmail.com>
Date:   Tue Jun 3 20:36:51 2025 +0800

    Merge branch 'AstrBotDevs:master' into webui_enhancement

commit bb1dec76fadfabd8a159ade96c1a8ee8075d324c
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Tue Jun 3 20:22:08 2025 +0800

    remove: wechat qr code

    hahaha

commit f618b8fcdc05240e6023053312904f4fe7762c1e
Author: Flartiny <1335348298@qq.com>
Date:   Tue Jun 3 14:04:04 2025 +0800

    fix: residual configuration items after plugin configuration modification

commit 9147cab75bacf5d7f81548d8b209faac13a77d32
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sat May 31 14:26:56 2025 +0800

    fix: add additional routes for Alkaid knowledge base and long-term memory

commit 5f07bcc8e691572ea301e2c6dec9f16b89ad706c
Author: Raven95676 <Raven95676@gmail.com>
Date:   Sat May 31 14:13:58 2025 +0800

    feat: add Gemini embedding provider and update OpenAI provider to support timeout configuration

commit 705cf2ea1bc1a99713ee8e384d88c0e914a1bbb1
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat May 31 14:08:01 2025 +0800

    docs(README.md): knowledge base

commit 42c439448456a35ce7e220ea1b2e86ba4b10db41
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 13:50:40 2025 +0800

    ci: upload dashboard artifact to Cloudflare R2 when auto release

commit 221221a3c15c5a4483d706a2d77fce546fbc9271
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 13:47:59 2025 +0800

    ci: upload dashboard artifact to Cloudflare R2 when auto release

commit 9564166297a9a9346af2706def87a6b8c2c4ded3
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 11:52:24 2025 +0800

    perf: knowledge base displays console when installing

commit f5cf3c3c8e087f928c66fe12f56b4d149aaf3521
Merge: 20d2e5c5 18f919fb
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat May 31 11:51:39 2025 +0800

    Merge pull request #1691 from AstrBotDevs/perf-pip-async

    Feature: 将插件依赖检查和 pip 安装方法改为异步,以提高性能和响应速度

commit 18f919fb6b666fdcc438a0757ae258bb17a5b6b3
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat May 31 11:47:29 2025 +0800

    perf: pip_main wrapped in asyncio.to_thread

    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

commit 09248352538c1a627b94ee4ac9dd2365daae26b8
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 11:44:58 2025 +0800

    feat: 将插件依赖检查和 pip 安装方法改为异步,以提高性能和响应速度

commit 20d2e5c5785d5bb0688a69b893b289bb5e4c7356
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 11:25:51 2025 +0800

    perf: 优化日志流发送频率,防止积压超过 buffer size 导致前端显示异常

commit 907801605cde88cf3278530884a0c9ab2b52f016
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 11:02:56 2025 +0800

    📦 release: v3.5.13

commit 93bc684e8c5c4795b244096b752f2b9991b1b824
Author: Soulter <905617992@qq.com>
Date:   Sat May 31 11:00:59 2025 +0800

    feat: 添加旧版本提供商类型映射以兼容性支持

commit a76c98d57e03ba53778e919bb18ba4df61d9ed15
Merge: e68173b4 d937a800
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat May 31 10:59:46 2025 +0800

    Merge pull request #1685 from RC-CHN/master

    Feature: 添加测试文本生成供应商可用功能

commit d937a800d00b383075e61beeeb11796ff8790c1a
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat May 31 10:46:35 2025 +0800

    fix: provider name

commit d16f3a227f094e1eca0defccc206d9e329300b2c
Merge: 80c9a3ee e68173b4
Author: Soulter <37870767+Soulter@users.noreply.github.com>
Date:   Sat May 31 10:46:15 2025 +0800

    Merge branch 'master' into master

commit 80c9a3eeda6df42cbdee425d774eb56936e30…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] 使用chutesAI机器人回复会带上思考过程
1 participant