[BUG]: @agent trigger / Agent workspace mode fails with 400 invalid_type JSON error – regression since v1.16.1
![[BUG]: @agent trigger / Agent workspace mode fails with 400 invalid_type JSON error – regression since v1.16.1](https://www.chat-gpts.plus/wp-content/uploads/2026/10/6273-79245afa-768x403.jpg)
该报错通常出现在 AnythingLLM 桌面端调用 @agent 或进入 Agent/workspace 模式时,后端在构造工具(function/tool)JSON 时发出缺少 function.parameters.properties 的请求,被服务端以 400 invalid_type 拒
![[Bug]: Bedrock count_tokens returns 400 for cross-region inference-profile models — prefix stripped before request](https://www.chat-gpts.plus/wp-content/uploads/2026/10/32683-e728913d-768x403.jpg)
![[Bug]: Spend logs only record the first tool call and first LLM round for chained MCP calls on streaming /responses (require_approval="never](https://www.chat-gpts.plus/wp-content/uploads/2026/10/37358-c3372de5-768x403.jpg)



![RuntimeError: [...] /project/cpp/grammar_parser.cc:564: EBNF parser error at line 2, column 1: Rule "root" is defined multiple times](https://www.chat-gpts.plus/wp-content/uploads/2026/10/43920-c079389d-768x403.jpg)


