A modular local inference LLM coding agent. Core component of siGit Factory.
Log malformed tool argument JSON instead of silently falling back to string
Parsing tc.arguments with unwrap_or_else silently converts invalid JSON to a string value, which can mask real parsing errors. Add logging at three sites where this pattern occurs: - pretty_tool_arguments (chat.rs): logs both JSON parse errors and pretty-print failures - ToolCall event creation (main.rs): logs JSON parse errors when sending tool call updates to ACP clients - Permission request creation (main.rs): logs JSON parse errors when requesting permission for a tool call This allows developers to identify malformed argument JSON in logs, while maintaining backward compatibility (still falling back to string repr on error). Co-Authored-By: siGit Code <noreply@sigit.si>