Skip to main content

to_model_output

Method
This is a method of the FunctionTool class in the decorator module.
Build the compact model-facing view via the to_model_output fn. Returns None when no builder was supplied so the executor falls back to the full output (unchanged behaviour).

Signature

Parameters

Any
required
No description available.

Returns

Optional[Any]
The result of the operation.

Uses

  • logging.warning

Source

View on GitHub

praisonaiagents/tools/decorator.py at line 193

Output Concept

Output Configuration

Save Output