changelogs/v4.24.2.md
<a id="chinese"></a>
pages/ 目录和注册 Web 路由来向 Dashboard 暴露自定义页面。详见开发文档。(#5940).astrbot-plugin/i18n 中提供多语言名称、描述和配置文本,Dashboard 组件会按当前语言解析展示。详见开发文档。(#7919)skills/ 提供 skills。(#7945)。详见开发文档。extra_user_content_parts 临时内容标记,插件可使用 TextPart(...).mark_as_temp() 让追加内容只参与本轮 LLM 请求而不写入会话历史。(#7976)。详见插件开发文档。fallback_max_context_tokens 配置,当模型元数据缺失且 max_context_tokens 为 0 时,可使用默认上下文窗口上限参与压缩判断。该值默认为 128k。(#7942)优化 Dashboard 扩展、知识库、MCP、技能和配置页面的布局、卡片样式、响应式表现与多语言文案。(#7903)
send_message_to_user 在安全模式、cron 主动任务和无完整 session 格式场景下的提示与容错,并为 cron payload 增加 session 信息。(#7907, #7911)v-autocomplete 并缓存候选项,改善长列表选择体验。(#7884, #7885)send_message_to_user 可被普通用户指定任意 session 发送消息的安全问题;普通用户只能发送到当前会话,管理员仍可指定 session。(#7822, #7824)http_client 与 SDK httpx 类型兼容问题。(#7773)stop_event() 后后续 handler 仍继续执行,以及 clear_result() 导致停止状态被重置的问题。(#7900, #7922)system_prompt 为 None 时注入人格或 skills prompt 会报错的问题。(#7880)msg_id 时跳过发送的问题,同时保留群聊缓存校验。(#7904, #7914).gitignore 与公开目录同步问题。tool_choice 相关调试问题,暂时注释该参数以规避部分 Provider 不兼容。(#7853, #7856, #7862)<a id="english"></a>
pages/ directory with asset authentication, bridge script, back-button behavior, docs, and security tests. (#5940).astrbot-plugin/i18n, including localized names, descriptions, config text, Dashboard integration, docs, and tests. (#7919)fallback_max_context_tokens, used when model metadata is missing and max_context_tokens is set to 0. (#7942)extra_user_content_parts; plugins can use TextPart(...).mark_as_temp() to include content in the current LLM request without persisting it into conversation history. (#7976)send_message_to_user prompts and tolerance in safety mode, cron proactive tasks, and incomplete session formats; cron payloads now include session information. (#7907, #7911)v-autocomplete and memoizing select items for better long-list selection. (#7884, #7885)send_message_to_user to send messages to arbitrary sessions; normal users are now restricted to the current session while admins can still target other sessions. (#7822, #7824)default_headers and list-format system prompts. (#7875, #7587)http_client compatibility with SDK httpx. (#7773)stop_event() allowing later handlers to continue, and fixed stop-state reset caused by clear_result(). (#7900, #7922)system_prompt is None. (#7880)msg_id is missing, while preserving group-message cache validation. (#7904, #7914).gitignore, and public-directory sync issues.tool_choice by temporarily commenting out the parameter for debugging. (#7853, #7856, #7862)