Skip to main content

Release 1.4.2 — Workflow Prompt Rendering

Highlights​

CAIPE 1.4.2 restricts workflow step prompts to supported context references. Review saved workflows that use template filters, function calls, control blocks, or whitespace control before upgrading.

Upgrade from 1.4.1 to 1.4.2​

Update saved workflow prompts​

The 1.4.2 workflow guide lists the prompt references supported by this release. Use them to insert the current run's context, the previous step's output, or a field from a completed step.

ReferenceInserts
{{ user_context }}Context supplied when starting the run
{{ previous_output }}Output from the most recently completed step
{{ steps[0].output }}Output from the first step

Before upgrading to 1.4.2, rewrite saved prompts that use filters, function calls, control blocks, or whitespace control such as {{- … -}}. In 1.4.2, unsupported syntax fails when the step runs. The workflow continues if that step is set to skip errors. If a prompt relies on formatting a value, have the preceding step supply it in the expected format.

Before

prompt: "Summarize the following. {{ previous_output | trim }}"

After

prompt: "Summarize the following. {{ previous_output }}"

Upgrade the chart​

Save your current values and image references. Include any values previously supplied with --set, and update any explicit CAIPE image pins to match the release. Use your existing Helm values when upgrading.

helm upgrade example \
oci://ghcr.io/caipe-io/charts/ai-platform-engineering \
--namespace example \
--version 1.4.2 \
--values values.yaml \
--wait

Sign in after the rollout and run a workflow that passes output between two steps. Confirm that both steps complete and the second step receives the expected text.