Interface: ForkModelRoutingConfig<TParentIn, TReq>
Defined in: ast/fork-capability-node.ts:17
Conditional model routing configuration for downward child forks (.modelRouting($m => ...)).
Evaluates whether the child fork should inherit the parent actor's bound model at a specific reasoning effort or route to an explicit fallback model or pool.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TParentIn | unknown | Parent actor input payload type. |
TReq | unknown | Fork tool call request payload type. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
inheritParentEffort? | readonly | object | Optional rule inheriting the parent actor's model with a specified reasoning effort when when(parentInput, req) holds. | ast/fork-capability-node.ts:19 |
inheritParentEffort.effort | readonly | "low" | "medium" | "high" | - | ast/fork-capability-node.ts:20 |
inheritParentEffort.when | readonly | BivariantCallback<[parentInput: TParentIn, req: TReq], boolean> | - | ast/fork-capability-node.ts:21 |
otherwisePool | readonly | | ModelASTNode | PoolNode<ModelASTNode> | Fallback model or model pool used when inheritParentEffort is not matched. | ast/fork-capability-node.ts:24 |