Would it be possible to allow custom text gradient computation and editing templates for APO in the form of SDK usage?

Author: li2zhiCreated Dec 31, 2025Updated Aug 25, 2026
Labelsenhancementapov0.x

In our actual usage scenario, we usually start training via the SDK and do not install the full source code, so we cannot directly replace the template files packaged into the SDK. We hope that relevant configuration parameters can be exposed in APO to make usage more flexible.

Alternatively, would it be acceptable to submit a PR to implement this change? This likely addresses a common need in many scenarios, rather than requiring users to extend the APO class and rewrite the related method logic.

Source: microsoft/agent-lightning