Commit d4c0965
committed
fix(amazon-bedrock-agentcore): preserve non-ASCII text in browser_evaluate
json.dumps defaults to ensure_ascii=True, which escapes CJK characters,
emoji, and accented characters to \uXXXX sequences. This makes the
output unreadable for non-Latin scripts.
Add ensure_ascii=False so the result string preserves the original
Unicode characters, matching the fix already applied to
bedrock-kb-retrieval (PR awslabs#3821).
Fixes awslabs#39941 parent 5b5b216 commit d4c0965
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
0 commit comments