(
activeKey: string,
sessionId: string,
header: SessionHeader,
systemPrompt: string,
tools: readonly MakaTool[],
run: AgentRun,
execution: PendingExecutionClaim,
)
| 2963 | } |
| 2964 | |
| 2965 | private async reserveChildRun( |
| 2966 | activeKey: string, |
| 2967 | sessionId: string, |
| 2968 | header: SessionHeader, |
| 2969 | systemPrompt: string, |
| 2970 | tools: readonly MakaTool[], |
| 2971 | run: AgentRun, |
| 2972 | execution: PendingExecutionClaim, |
| 2973 | ): Promise<BackendGeneration> { |
| 2974 | const active = await this.ensureChildActive( |
| 2975 | activeKey, |
| 2976 | sessionId, |
| 2977 | header, |
| 2978 | systemPrompt, |
| 2979 | tools, |
| 2980 | execution, |
| 2981 | ); |
| 2982 | this.reserveGenerationRun(active, run); |
| 2983 | return active; |
| 2984 | } |
| 2985 | |
| 2986 | private createBackendGeneration( |
| 2987 | sessionId: string, |
no test coverage detected