rulvar API reference / @rulvar/planner / extractScript
Function: extractScript()
ts
function extractScript(reply): string;Defined in: packages/planner/src/plan.ts:58
The model may fence the script; the extractor takes the first fenced block when one exists, else the whole reply, and is deterministic.
Parameters
| Parameter | Type |
|---|---|
reply | string |
Returns
string