vllm.renderers.ergo
¶
Ergo chat renderer: messages are encoded straight to token ids.
A turn is <label><ctrl0>body<ctrl100>, turns are joined by a newline, and
the generation header opens an assistant turn in reasoning.
_order_tool_results(messages)
¶
Order each run of tool results after an assistant turn by the position of its call; unmatched results go last.
_tool_definition(tool)
¶
Keep the name, description and full parameters schema in client key
order, adding only a missing root type (first) and properties (after
type).