Function: createClaudeModelBuilder()
ts
function createClaudeModelBuilder(
alias,
options?,
accountPool?
): ClaudeModelBuilder;Defined in: claude/src/builders/create-claude-model-builder.ts:25
Creates an immutable ClaudeModelBuilder for an Anthropic Claude model configuration.
Validates that both alias and the resolved modelId (options?.id ?? alias) are non-empty strings and compiles to a frozen passive ClaudeModelNode without performing network or environment I/O.
Parameters
| Parameter | Type | Description |
|---|---|---|
alias | string | Logical alias of the model. |
options? | ClaudeModelOptions | Optional provider model identifier and effort level. |
accountPool? | PoolNode<ClaudeAccountSeatNode> | Optional compiled pool of Claude account seats. |
Returns
Immutable builder compiling to ClaudeModelNode.
Throws
If alias or options.id is empty or whitespace-only.