发布

  • model/parsers: rework gemma4 tool call handling (#15306)

    frostbyte_neo 发布于 2026-04-03 21:35:00 +00:00

    Replace the custom Gemma4 argument normalizer with a stricter
    reference-style conversion: preserve Gemma-quoted strings, quote bare
    keys, and then unmarshal the result as JSON.

    This keeps quoted scalars as strings, preserves typed unquoted values,
    and adds test coverage for malformed raw-quoted inputs that the
    reference implementation rejects.

    下载附件