Soulter
|
31e7af82d7
|
feat: add UMO config overrides
|
2026-07-05 14:47:58 +08:00 |
|
Weilong Liao
|
de572e3fe0
|
fix: avoid duplicate send_message_to_user replies (#9051)
|
2026-06-27 16:57:17 +08:00 |
|
エイカク
|
2c8736fe42
|
fix: harden sandbox file transfers (#8840)
* fix: harden sandbox file transfers
* fix: check CUA sandbox availability with shell probe
* fix: address sandbox transfer review feedback
* fix: preserve CUA health check cancellation
* fix: tighten CUA health probe checks
|
2026-06-17 22:25:51 +09:00 |
|
Weilong Liao
|
66ec415e56
|
fix: restrict local file paths in message tools (#8660)
* fix: restrict local file paths in message tool
* Update astrbot/core/tools/message_tools.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fix: rf
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
2026-06-08 01:20:47 +08:00 |
|
NayukiMeko
|
22ba831a31
|
fix(message_tools): throw exception and block message sending when path does not exist (#8149)
* fix(message_tools): 路径不存在时抛出异常并阻止消息发送
- _resolve_path_from_sandbox 在所有解析路径均失败时改为抛出 FileNotFoundError,而非静默返回原始路径,避免将无效路径传递给下游组件
- 新增 component_type 关键字参数,使错误信息能明确指出是 image/record/video/file 哪类资源路径缺失
- 在 call 方法中捕获 FileNotFoundError 并提前返回错误字符串,确保路径无效时不会继续构建或发送任何消息组件
- 补充单元测试,验证缺失图片路径场景下 send_message 不会被调用
* Update tests/unit/test_message_tools.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fix(tools): propagate sandbox error instead of masking as FileNotFoundError
---------
Co-authored-by: Ruochen Pan <badbatch0x01@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: RC-CHN <1051989940@qq.com>
|
2026-05-13 11:50:06 +08:00 |
|
NayukiMeko
|
8098a92f33
|
fix(#7907): send_message_to_user cron 场景下 session 容错 (#7911)
* fix: send_message_to_user cron 场景下 session 容错 (#7907)
- LLM 在主动场景可能只传 session_id 而非完整三段式,
from_str 失败时用 current_session 补全前两段。
Co-authored-by: Copilot <copilot@github.com>
* fix: 限制 session 补全仅对裸 session_id 生效,避免误修带冒号的错误输入 (#7907)
* feat: add session information to cron job payload
Co-authored-by: Copilot <copilot@github.com>
* fix: improve clarity and consistency of safety mode prompts
Co-authored-by: Copilot <copilot@github.com>
---------
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Weilong Liao <37870767+Soulter@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com>
|
2026-05-03 14:37:37 +08:00 |
|