mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-08 14:15:36 -05:00
Corrects an issue caused by Go defaulting to parsing JSON Numbers as float64s. This caused some numbers to be incorrectly parsed as floats when they were integers. This defaults to parsing using json.Number, which allows us to parse between Int/Float more accurately.