Commit 18ea7af
committed
fix(streaming): drop raw tool args from WARNING log
Logging raw_args[:200] could leak partial file contents, PII, or
secrets from write_file / apply_patch arguments into production log
pipelines. Switch to logging only bounded metadata (tool name + raw
arg byte count).
The existing malformed-args test still passes since it asserts on the
"Failed to parse tool call arguments" prefix, which is preserved.1 parent 8a0994b commit 18ea7af
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
| 878 | + | |
878 | 879 | | |
879 | 880 | | |
880 | 881 | | |
| |||
0 commit comments