fix(proxy): avoid leaking tool_result image URLs

This commit is contained in:
seilk committed 2026-04-30 02:18:22 +09:00
1 parent f6bb31c956
commit 83c16e216a
2 files changed
+3 -3

No files matched your search

@@ -220,7 +220,7 @@ describe('ProxyRequestTransformer regressions', () => {
role: 'tool',
tool_call_id: 'toolu_1',
content:
'screenshot captured\n[tool_result image omitted: https://example.com/error.png]\n[tool_result image omitted: image/png base64 payload]',
'screenshot captured\n[tool_result image omitted: url image payload]\n[tool_result image omitted: image/png base64 payload]',
});
});