chore: bump version to 4.13.1

This commit is contained in:
Soulter
2026-01-29 23:31:49 +08:00
parent d27099f2da
commit a500f2edc8
6 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
__version__ = "4.13.0"
__version__ = "4.13.1"
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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 = [
+7
View File
@@ -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
+1 -1
View File
@@ -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"