Files
llama.cpp-xrip/common
Yuri Khrustalev 77390baa18 jinja : write floats in tojson as Python does (#30362)
tojson printed floats through a C++ stream (6 significant digits, no
".0"), so 48.858844 became 48.8588 and 1.0 became 1 in tool definitions,
tool-call arguments and other template output. Write the shortest digits
that read back as the same value, as json.dumps does. The string and safe
filters of a float use the same code.
2026-10-14 09:18:38 +03:00
..
2026-09-21 10:32:07 +02:00
2026-10-09 10:06:22 -05:00
2026-10-09 10:06:22 -05:00
2026-10-09 10:06:22 -05:00