diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 1a667d3f8..26066ebef 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.14.2" +__version__ = "4.14.3" diff --git a/astrbot/core/astr_main_agent.py b/astrbot/core/astr_main_agent.py index dfffa9cf9..690a6404c 100644 --- a/astrbot/core/astr_main_agent.py +++ b/astrbot/core/astr_main_agent.py @@ -7,6 +7,7 @@ import datetime import json import os import zoneinfo +from collections.abc import Coroutine from dataclasses import dataclass, field from astrbot.api import sp @@ -51,7 +52,6 @@ from astrbot.core.tools.cron_tools import ( ) from astrbot.core.utils.file_extract import extract_file_moonshotai from astrbot.core.utils.llm_metadata import LLM_METADATAS -from typing import Coroutine @dataclass(slots=True) diff --git a/changelogs/v4.14.3.md b/changelogs/v4.14.3.md new file mode 100644 index 000000000..72d321d97 --- /dev/null +++ b/changelogs/v4.14.3.md @@ -0,0 +1,4 @@ +## What's Changed + +### 修复 +- 修复 `on_llm_request` 钩子可能无法应用效果的问题 diff --git a/pyproject.toml b/pyproject.toml index 7920b3f2e..e2d016d9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.14.2" +version = "4.14.3" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"