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-23 12:13:54 -07:00
2026-07-16 21:41:00 +00:00
2026-04-20 10:32:20 +01:00
2026-06-18 11:54:49 -07:00
2026-07-07 17:43:19 -07:00
2026-06-23 22:51:19 +01:00
2026-06-23 22:51:19 +01:00
2026-06-20 13:15:49 -07:00
2026-07-02 18:44:34 -07:00
2026-07-18 23:22:13 +00:00
2026-07-14 22:43:26 +00:00
2026-06-23 16:49:13 -07:00
2026-04-02 23:00:02 -07:00
2026-04-02 23:00:02 -07:00
2026-07-18 00:26:24 +00:00
2026-07-16 01:23:52 +00:00
2026-07-11 02:29:14 +00:00
2026-05-06 19:42:45 +00:00
2026-05-28 09:38:34 -07:00
2026-03-18 10:03:38 +00:00
2026-07-18 23:22:13 +00:00
2026-04-02 23:00:02 -07:00
2026-07-18 09:13:38 +00:00
2026-07-16 16:13:53 +00:00
2026-07-18 20:59:57 +00:00
2026-07-10 18:12:27 +00:00
2026-06-11 22:30:41 -07:00
2026-07-11 02:29:14 +00:00
2026-07-11 02:29:14 +00:00
2026-07-08 09:59:50 -07:00
2026-05-06 10:48:37 +02:00
2026-04-29 19:23:46 +00:00
2026-06-23 11:46:36 -07:00
2026-05-08 12:17:48 -07:00
2026-07-18 00:26:24 +00:00