Tyler Yust
ff4f59ec90
feat(image-tool): support multiple images in a single tool call ( #17512 )
...
* feat(image-tool): support multiple images in a single tool call
- Change 'image' parameter to accept string | string[] (Type.Union)
- Add 'maxImages' parameter (default 5) to cap abuse/token explosion
- Update buildImageContext to create multiple image content parts
- Normalize single string input to array for unified processing
- Keep full backward compatibility: single string works as before
- Update tool descriptions for both vision and non-vision models
- MiniMax VLM falls back to first image (single-image API)
- Details output adapts: 'image' key for single, 'images' for multi
* bump default max images from 5 to 20
2026-02-15 13:45:17 -08:00
..
2026-02-14 19:53:04 +01:00
2026-02-15 13:45:17 -08:00
2026-02-15 21:07:10 +00:00
2026-02-15 19:29:27 +00:00
2026-02-14 20:11:57 +00:00
2026-02-15 18:53:24 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 19:29:27 +00:00
2026-01-30 03:16:21 +01:00
2026-02-15 19:29:27 +00:00
2026-02-15 19:29:28 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 13:05:46 -06:00
2026-02-04 10:37:14 -05:00
2026-02-15 21:42:35 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 11:36:54 -06:00
2026-02-13 18:38:40 +01:00
2026-02-15 05:14:46 +00:00
2026-02-14 22:03:45 -08:00
2026-02-14 16:57:20 +01:00
2026-02-15 17:57:13 +00:00
2026-02-15 17:33:08 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 17:36:08 +00:00
2026-02-15 06:10:13 +00:00
2026-02-15 19:37:40 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 15:50:24 +00:00
2026-02-15 16:37:36 +00:00
2026-02-01 10:03:47 +09:00
2026-02-15 19:29:27 +00:00
2026-02-14 22:03:45 -08:00
2026-02-15 19:06:54 +00:00
2026-02-15 11:36:54 -06:00
2026-02-15 17:45:16 +00:00
2026-02-15 19:29:27 +00:00
2026-02-15 13:12:10 -08:00
2026-02-07 22:16:59 -05:00
2026-02-15 21:31:23 +00:00
2026-02-15 13:32:35 +00:00
2026-02-15 13:12:10 -08:00
2026-02-02 01:52:33 +01:00
2026-02-14 15:39:46 +00:00
2026-02-15 19:40:27 +00:00
2026-02-15 01:15:43 +00:00
2026-02-15 19:29:27 +00:00
2026-02-01 10:03:47 +09:00
2026-01-13 08:40:39 +00:00
2026-02-15 00:56:20 +00:00
2026-02-14 15:39:46 +00:00
2026-02-03 20:18:16 +09:00
2026-01-31 16:19:20 +09:00
2026-01-14 15:02:19 +00:00
2026-02-01 10:03:47 +09:00
2026-02-14 00:59:53 +00:00
2026-01-31 16:19:20 +09:00
2026-02-13 16:20:37 +00:00
2026-02-14 19:03:46 +01:00
2026-02-14 19:03:46 +01:00
2026-02-14 20:47:00 +01:00
2026-02-08 20:06:29 -05:00
2026-02-09 18:56:58 -08:00
2026-02-06 00:09:48 -05:00
2026-02-06 00:09:48 -05:00