diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 5b886240e..ab9d6f875 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.13.0" +__version__ = "4.13.1" diff --git a/astrbot/core/computer/tools/python.py b/astrbot/core/computer/tools/python.py index 6716f4cf6..333f442f9 100644 --- a/astrbot/core/computer/tools/python.py +++ b/astrbot/core/computer/tools/python.py @@ -84,7 +84,7 @@ class LocalPythonTool(FunctionTool): self, context: ContextWrapper[AstrAgentContext], code: str, silent: bool = False ) -> ToolExecResult: if context.context.event.role != "admin": - return "error: Permission denied. Local Python execution is only allowed for admin users. Set admins in AstrBot WebUI." + return "error: Permission denied. Local Python execution is only allowed for admin users. Tell user to set admins in AstrBot WebUI." sb = get_local_booter() try: diff --git a/astrbot/core/computer/tools/shell.py b/astrbot/core/computer/tools/shell.py index f3d2443bf..eeeb3f9d4 100644 --- a/astrbot/core/computer/tools/shell.py +++ b/astrbot/core/computer/tools/shell.py @@ -47,7 +47,7 @@ class ExecuteShellTool(FunctionTool): env: dict = {}, ) -> ToolExecResult: if context.context.event.role != "admin": - return "error: Permission denied. Shell execution is only allowed for admin users. Set admins in AstrBot WebUI." + return "error: Permission denied. Shell execution is only allowed for admin users. Tell user to Set admins in AstrBot WebUI." if self.is_local: sb = get_local_booter() diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 7f217b1f8..135e2aba5 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -5,7 +5,7 @@ from typing import Any, TypedDict from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.13.0" +VERSION = "4.13.1" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.13.1.md b/changelogs/v4.13.1.md new file mode 100644 index 000000000..54c9135be --- /dev/null +++ b/changelogs/v4.13.1.md @@ -0,0 +1,7 @@ +## What's Changed + +### fixes + +- feat(chat): refactor message rendering and introduce ToolCallItem component +- fix(db): using lambda expression to ensure updated_at field ([#4730](https://github.com/AstrBotDevs/AstrBot/issues/4730)) +- fix(skills): update SANDBOX_SKILLS_ROOT path to use relative directory diff --git a/pyproject.toml b/pyproject.toml index 361f00c09..2c08b1479 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.13.0" +version = "4.13.1" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"