mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
aa635b8a8b
MCP clients may send explicit `null` for unused optional fields. `expected_replacements: int = 1` caused FastMCP's JSON Schema validation to reject null before the function body ran. Changed to `Optional[int] = None` with an effective default resolved inside the function body. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>