Skip to content

five-on-it / apps/creator/src/claude / checkClaudeModels

Function: checkClaudeModels() ​

checkClaudeModels(models, options): Promise<void>

Defined in: apps/creator/src/claude.ts:284

Checks at start that Anthropic takes the key and has each model (GET /v1/models/<id>): the runner does not start on a key it refuses or a model it retired.

Parameters ​

models ​

readonly string[]

options ​

apiKey ​

string

fetch? ​

{(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

url? ​

string

Returns ​

Promise<void>