Skip to content

Commit

Permalink
🎉 chore: bump to v3.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Jan 12, 2025
1 parent 7c68181 commit 989f3c8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion astrbot/core/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
如需修改配置,请在 `data/cmd_config.json` 中修改或者在管理面板中可视化修改。
"""

VERSION = "3.4.5"
VERSION = "3.4.6"
DB_PATH = "data/data_v3.db"

# 默认配置
Expand Down
10 changes: 8 additions & 2 deletions astrbot/dashboard/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,14 @@ async def shutdown_trigger_placeholder(self):

def run(self):
ip_addr = get_local_ip_addresses()
logger.info(f"""🌈 管理面板已启动,可访问
logger.info(f"""
✨✨✨
AstrBot 管理面板已启动,可访问
1. http://{ip_addr}:6185
2. http://localhost:6185
登录。默认用户名和密码是 astrbot。""")
默认用户名和密码是 astrbot。
✨✨✨
""")
return self.app.run_task(host="0.0.0.0", port=6185, shutdown_trigger=self.shutdown_trigger_placeholder)
9 changes: 9 additions & 0 deletions changelogs/v3.4.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# What's Changed

- 文件和语音功能适配 Lagrange
- 面板文件更新检查和引导提示
- WebUI AboutPage 关于页
- 支持并完善服务提供商(Provider)默认配置模板接口
- 修复 WebUI 配置页官方文档链接 404 的问题
- 修复 WebUI WebChat 刷新时 404 的问题
- 优化 download_file 的 SSL 连接错误处理
4 changes: 2 additions & 2 deletions packages/python_interpreter/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, context: star.Context) -> None:
async def initialize(self):
ok = await self.is_docker_available()
if not ok:
logger.warning("Docker 不可用,代码解释器将无法使用,astrbot-python-interpreter 将自动禁用。")
logger.info("Docker 不可用,代码解释器将无法使用,astrbot-python-interpreter 将自动禁用。")
await self.context._star_manager.turn_off_plugin("astrbot-python-interpreter")

async def file_upload(self, file_path: str):
Expand Down Expand Up @@ -141,7 +141,7 @@ async def is_docker_available(self) -> bool:
await docker.version()
return True
except aiodocker.exceptions.DockerError as e:
logger.error(f"检查 Docker 可用性时出现问题: {e}")
logger.info(f"检查 Docker 可用性: {e}")
return False

async def get_image_name(self) -> str:
Expand Down

0 comments on commit 989f3c8

Please sign in to comment.