mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-10 07:58:12 -05:00
Fix: https://github.com/googleapis/genai-toolbox/issues/701 Things done: 1. Replace the `AsReversedMap()` helper with `AsMap()` 2. BigQuery's QueryParameter only accepts typed slices as input, but our arrays are passed in as []any. Therefore, add a logic to convert []any to a typed array based on the item type. Tested on MCP inspector: <img width="409" alt="Screenshot 2025-06-16 at 5 15 55 PM" src="https://github.com/user-attachments/assets/8053cad5-270e-4d82-b97c-856238c42154" /> --------- Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>