Files
genai-toolbox/internal/tools
Yuan fafed24858 fix: set default value to field's type during unmarshalling (#774)
When go-yaml decode into CommonParameter with Default being an any type,
int will be converted into []uint64.
It will fail the Parse() when the value is being used since it does not
belong to either of the int types.

Unmarshal `default` value into each field's type directly.

Fixes #771
2025-07-02 14:58:42 +00:00
..
2025-06-30 11:37:48 -04:00
2025-06-30 11:37:48 -04:00
2025-06-30 11:37:48 -04:00