Skip to content

basalt / ai/src / parsePlan

Function: parsePlan() ​

> parsePlan(raw, request): ArchitecturePlan

Defined in: ai/src/plan/plan.ts:64

Parse + normalize the model's JSON into a validated plan. Tolerant of fences and missing arrays.

Parameters ​

raw ​

string

request ​

string

Returns ​

ArchitecturePlan

Released under the MIT License.