nhamidi-oai
643de86a19
Add audio output support to dynamic tools and code mode (#34080)
## What changed
- Add `inputAudio` content items to dynamic tool responses, app-server events, thread history, and generated protocol schemas.
- Add an `audio()` code-mode helper that accepts inline data URLs, audio URL objects, and MCP audio blocks.
- Convert MCP audio blocks into model input when audio is supported, and replace unsupported audio with an explanatory text item.
- Reject non-data audio URLs and track audio item counts in dynamic tool analytics.
## Testing
- Cover audio serialization, protocol round trips, thread-history conversion, MCP modality filtering, code-mode helper inputs, and invalid URL handling.
GitOrigin-RevId: 1ed52a8f9c62d4840fb71c5ec736b4a3566243d6
2026-07-18 23:22:13 +00:00
..
2026-06-18 11:54:49 -07:00
2026-07-18 23:22:13 +00:00
2026-02-20 23:45:35 -08:00
2026-04-10 20:02:33 -07:00
2026-05-08 12:36:02 -07:00
2026-05-08 12:36:02 -07:00
2026-02-09 20:48:58 -08:00
2026-02-09 20:48:58 -08:00
2026-02-01 23:38:43 -08:00
2026-07-18 20:59:57 +00:00
2026-07-18 23:22:13 +00:00
2026-07-18 23:22:13 +00:00
2026-07-14 16:40:13 +00:00
2026-02-26 01:10:46 +00:00
2026-04-21 10:08:42 -07:00
2026-07-18 23:22:13 +00:00
2026-02-20 23:45:35 -08:00
2026-04-10 20:02:33 -07:00
2026-05-07 20:31:41 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-19 05:24:09 +00:00
2026-02-13 15:08:14 -08:00
2026-03-19 05:24:09 +00:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-02 16:01:41 -08:00
2026-02-01 23:38:43 -08:00
2026-03-02 16:01:41 -08:00
2026-02-01 23:38:43 -08:00
2026-06-18 11:54:49 -07:00
2026-03-06 01:50:26 -08:00
2026-07-14 16:40:13 +00:00
2026-07-14 16:40:13 +00:00
2026-02-01 23:38:43 -08:00
2026-07-18 23:22:13 +00:00
2026-07-14 16:40:13 +00:00
2026-06-11 22:30:41 -07:00
2026-02-01 23:38:43 -08:00