sovara rerun when you want to test a small change to one recorded LLM
call without rerunning the entire agent.
Typical uses:
- Change a prompt fragment
- Change an existing model parameter such as max tokens
- Replace a user message from a file
- Compare whether one step would have produced a better answer
Requirements
Before rerunning a step:- Record or locate a trace.
- Inspect the trace and find the step ref.
- Confirm the step is an LLM call.
- Inspect the exact input keys you want to edit.
- Configure a replay API key for the provider used by that step.
--project-id.
palantir provider:
Basic rerun
Preview a lesson proposal
rerun_id, output, and lesson_retrieval.lesson_source containing the
proposal ID, proposal head revision, production revision, and merged corpus hash.
The latest 100 attempts are available through GET /ui/trace/{trace-id}/reruns.
Ordinary reruns continue to replace the selected step’s displayed override.
The proposal must belong to the trace’s project, and rerunning requires editor
access. --proposal cannot be combined with --disable-lesson-injection.
A server advertising proposal rerun support is required; the CLI refuses older
servers rather than silently performing an ordinary rerun.
Edit string values
Use--set KEY=VALUE for a string edit:
probe; unknown keys are rejected:
Edit JSON values
Use--set-json for numbers, booleans, arrays, objects, or null:
Read an edit from a file
Use--set-file KEY=PATH for larger prompt text:
Combine edits
Output
Successful reruns return JSON with:statustrace_idstep_refoverwritten_outputlesson_retrieval
Limits
sovara rerun is for one recorded LLM step. It does not rerun tool calls,
custom traced functions, or the full agent. If a provider key is missing, set it
for the trace’s project with the project-scoped command shown above. If the
provider is not replayable with an API key, inspect the step and rerun the full
agent instead.