Cesar Garcia and GitHub
049d45ea90
fix(gemini): Preserve non-ASCII characters in function call arguments ( #16550 )
...
Fixes #16533
Before this fix, non-ASCII characters (Japanese, Spanish, Chinese, etc.)
in function call arguments were being escaped as Unicode sequences.
Example:
- Before: "やあ" → "\u3084\u3042"
- After: "やあ" → "やあ" (preserved)
Changes:
- Add ensure_ascii=False to json.dumps() in _transform_parts()
- Add test for Japanese and Spanish Unicode character preservation
This is not a breaking change as both formats are equivalent in JSON.
The fix improves readability and aligns with OpenAI's behavior.
2025-11-12 19:01:38 -08:00
..
2025-10-25 11:42:34 -07:00
2025-10-31 19:28:59 -07:00
2025-10-29 18:28:52 -07:00
2025-11-06 17:07:53 -08:00
2025-10-30 17:05:32 -07:00
2025-11-03 18:46:52 -08:00
2025-11-11 15:34:27 -08:00
2025-11-12 18:20:14 -08:00
2025-11-03 08:48:36 -08:00
2025-11-08 16:24:31 -08:00
2025-04-26 12:05:06 -07:00
2025-11-08 11:49:36 -08:00
2025-11-12 19:01:38 -08:00
2025-05-14 21:31:07 -07:00
2025-11-08 16:24:31 -08:00
2025-11-12 18:25:30 -08:00
2025-11-12 13:50:52 -08:00
2025-09-25 15:47:01 -07:00
2025-11-03 17:22:19 -08:00
2025-10-31 18:20:52 -07:00
2025-10-31 18:20:52 -07:00
2025-11-01 09:21:17 -07:00
2025-11-12 09:12:14 -08:00
2025-10-31 18:13:29 -07:00
2025-10-31 18:20:52 -07:00
2025-10-04 10:57:02 -07:00
2025-11-12 18:43:37 -08:00
2025-11-12 18:20:14 -08:00
2025-04-16 19:21:47 -07:00
2025-11-06 16:15:02 -08:00
2025-10-31 20:32:03 -07:00
2025-11-07 19:22:49 -08:00
2025-11-12 18:48:27 -08:00
2025-10-04 10:18:25 -07:00
2025-11-01 12:00:29 -07:00
2025-05-03 21:31:05 -07:00
2025-07-04 13:12:16 -07:00
2025-10-03 10:16:29 -07:00
2025-09-25 15:47:01 -07:00
2025-09-25 15:47:01 -07:00
2025-09-25 15:47:01 -07:00
2025-09-25 15:47:01 -07:00
2025-05-27 16:14:49 -07:00
2025-11-07 10:24:27 -08:00
2025-05-09 09:02:08 -07:00
2025-10-08 18:31:26 -07:00
2025-11-10 19:30:44 -08:00
2025-09-27 10:59:25 -07:00
2025-10-28 19:05:13 -07:00
2025-05-03 08:16:53 -07:00
2025-09-21 10:44:47 +00:00
2025-01-30 19:35:50 -08:00
2025-07-09 09:25:17 -07:00
2025-08-28 16:12:42 -06:00
2025-09-25 15:47:01 -07:00
2025-09-25 15:47:01 -07:00
2025-05-27 17:44:23 -07:00
2025-09-25 15:47:01 -07:00