Models
Defined in: wrapper/src/anthropic-sdk.ts:247
Models interface (mimics Anthropic SDK).
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Models(
backend):Models
Defined in: wrapper/src/anthropic-sdk.ts:250
Parameters
Section titled “Parameters”backend
Section titled “backend”Returns
Section titled “Returns”Models
Methods
Section titled “Methods”list()
Section titled “list()”list(
options?):Promise<AnthropicModelsResponse>
Defined in: wrapper/src/anthropic-sdk.ts:257
List available models.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<AnthropicModelsResponse>
retrieve()
Section titled “retrieve()”retrieve(
modelId):Promise<AnthropicModel|null>
Defined in: wrapper/src/anthropic-sdk.ts:284
Retrieve information about a specific model.
Parameters
Section titled “Parameters”modelId
Section titled “modelId”string
Returns
Section titled “Returns”Promise<AnthropicModel | null>