Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion renderers/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ async def generate(
Returns a dict with: request_id, prompt_ids, renderer_prompt_ids,
mm_placeholders, completion_ids, completion_logprobs, content,
reasoning_content, tool_calls, finish_reason, routed_experts,
multi_modal_data, prompt_attribution. ``renderer_prompt_ids`` is the
sampling_mask, payload, multi_modal_data, prompt_attribution. ``renderer_prompt_ids`` is the
unexpanded logical prompt when ``process_multimodal=False`` and ``None``
otherwise.

Expand Down Expand Up @@ -409,6 +409,9 @@ def _prepare():
"reasoning_complete": parsed.reasoning_complete,
"routed_experts": routed_experts,
"sampling_mask": sampling_mask,
# By-handle side arrays: segments of a shared payload file the inference
# server wrote instead of returning routed_experts / sampling_mask inline.
"payload": choice.get("payload"),
# The mm sidecar consumed on the request side, surfaced back so
# callers can persist it on the trajectory step for downstream
# multi-turn bridging and training-sample construction.
Expand Down
Loading