mrcanofcatfood
mrcanofcatfood
Ran into this building an SDM MCP server. Here's a concrete fix proposal: The issue is in `as_tool_call_result()` in `R/session.R`. It hardcodes `type: "text"` for all results. When a tool...
@filter decorator returns empty body {} when combined with serializer_json(auto_unbox=TRUE) in 1.3.3
## Minimal reproducer for #1022 **Plumber version:** 1.3.3 (R 4.5.0), also reproduced on 1.3.0. ### Repro Two files: **repro-filter.R** (broken): ```r #* @filter Auth function(req, res) { res$status
@filter decorator returns empty body {} when combined with serializer_json(auto_unbox=TRUE) in 1.3.3
Edit: full runnable repro now at https://gist.github.com/mrcanofcatfood/f831fea0fc68b20612bb275cd1a8deb0 — clone and run `Rscript run-comparison.R` to see the bug side-by-side.