Not sure if this has been fixed in another patch but in 0.10.12 the NewAgentNetwork.loop response looks like:
Promise<{
status: "success";
result: {
text: string;
iteration: number;
};
steps: {
[x: string]: StepResult<any, any, any, any> | StepResult<unknown, unknown, unknown, unknown>;
};
but it the result object is actually vastly different than this.