LlmCore.Agent.ToolDispatch.Components.ComposeOutput (llm_core v0.3.0)

Copy Markdown View Source

Formats collected results into a single consolidated output string.

Uses the recipe's custom compose function if provided, otherwise falls back to structured markdown concatenation.

The composed string becomes the tool result that the LLM sees — it should be informative and well-structured.

Summary

Functions

Composes serial and parallel results into a final output string.

Functions

call(event, opts)

Composes serial and parallel results into a final output string.

Parameters

  • event%Event{} with serial_results, parallel_results, errors
  • opts — ALF stage options (unused)

Returns

Updated %Event{} with result set to the composed output string.