/opt/canhelp/node_modules/@anthropic-ai/sdk/resources/beta
NameSizeModeActions
messages/-0755rm
skills/-0755rm
beta.d.mts228230644editdlrm
beta.d.mts.map116610644editdlrm
beta.d.ts228130644editdlrm
beta.d.ts.map116600644editdlrm
beta.js12650644editdlrm
beta.js.map7240644editdlrm
beta.mjs9650644editdlrm
beta.mjs.map7570644editdlrm
files.d.mts44380644editdlrm
files.d.mts.map22310644editdlrm
files.d.ts44310644editdlrm
files.d.ts.map22300644editdlrm
files.js39510644editdlrm
files.js.map23550644editdlrm
files.mjs36700644editdlrm
files.mjs.map23390644editdlrm
index.d.mts80390644editdlrm
index.d.mts.map45120644editdlrm
index.d.ts80330644editdlrm
index.d.ts.map45110644editdlrm
index.js10330644editdlrm
index.js.map3060644editdlrm
index.mjs3310644editdlrm
index.mjs.map2340644editdlrm
messages.d.mts770644editdlrm
messages.d.mts.map1290644editdlrm
messages.d.ts750644editdlrm
messages.d.ts.map1280644editdlrm
messages.js3150644editdlrm
messages.js.map1530644editdlrm
messages.mjs1620644editdlrm
messages.mjs.map1380644editdlrm
models.d.mts63200644editdlrm
models.d.mts.map26490644editdlrm
models.d.ts63140644editdlrm
models.d.ts.map26480644editdlrm
models.js21170644editdlrm
models.js.map11290644editdlrm
models.mjs19260644editdlrm
models.mjs.map11310644editdlrm
skills.d.mts730644editdlrm
skills.d.mts.map1250644editdlrm
skills.d.ts710644editdlrm
skills.d.ts.map1240644editdlrm
skills.js3110644editdlrm
skills.js.map1490644editdlrm
skills.mjs1580644editdlrm
skills.mjs.map1340644editdlrm
Edit: /opt/canhelp/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts (6320B)
import { APIResource } from "../../core/resource.mjs"; import * as BetaAPI from "./beta.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { Page, type PageParams, PagePromise } from "../../core/pagination.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Models extends APIResource { /** * Get a specific model. * * The Models API response can be used to determine information about a specific * model or resolve a model alias to a model ID. * * @example * ```ts * const betaModelInfo = await client.beta.models.retrieve( * 'model_id', * ); * ``` */ retrieve(modelID: string, params?: ModelRetrieveParams | null | undefined, options?: RequestOptions): APIPromise; /** * List available models. * * The Models API response can be used to determine which models are available for * use in the API. More recently released models are listed first. * * @example * ```ts * // Automatically fetches more pages as needed. * for await (const betaModelInfo of client.beta.models.list()) { * // ... * } * ``` */ list(params?: ModelListParams | null | undefined, options?: RequestOptions): PagePromise; } export type BetaModelInfosPage = Page; /** * Indicates whether a capability is supported. */ export interface BetaCapabilitySupport { /** * Whether this capability is supported by the model. */ supported: boolean; } /** * Context management capability details. */ export interface BetaContextManagementCapability { /** * Indicates whether a capability is supported. */ clear_thinking_20251015: BetaCapabilitySupport | null; /** * Indicates whether a capability is supported. */ clear_tool_uses_20250919: BetaCapabilitySupport | null; /** * Indicates whether a capability is supported. */ compact_20260112: BetaCapabilitySupport | null; /** * Whether this capability is supported by the model. */ supported: boolean; } /** * Effort (reasoning_effort) capability details. */ export interface BetaEffortCapability { /** * Whether the model supports high effort level. */ high: BetaCapabilitySupport; /** * Whether the model supports low effort level. */ low: BetaCapabilitySupport; /** * Whether the model supports max effort level. */ max: BetaCapabilitySupport; /** * Whether the model supports medium effort level. */ medium: BetaCapabilitySupport; /** * Whether this capability is supported by the model. */ supported: boolean; } /** * Model capability information. */ export interface BetaModelCapabilities { /** * Whether the model supports the Batch API. */ batch: BetaCapabilitySupport; /** * Whether the model supports citation generation. */ citations: BetaCapabilitySupport; /** * Whether the model supports code execution tools. */ code_execution: BetaCapabilitySupport; /** * Context management support and available strategies. */ context_management: BetaContextManagementCapability; /** * Effort (reasoning_effort) support and available levels. */ effort: BetaEffortCapability; /** * Whether the model accepts image content blocks. */ image_input: BetaCapabilitySupport; /** * Whether the model accepts PDF content blocks. */ pdf_input: BetaCapabilitySupport; /** * Whether the model supports structured output / JSON mode / strict tool schemas. */ structured_outputs: BetaCapabilitySupport; /** * Thinking capability and supported type configurations. */ thinking: BetaThinkingCapability; } export interface BetaModelInfo { /** * Unique model identifier. */ id: string; /** * Model capability information. */ capabilities: BetaModelCapabilities | null; /** * RFC 3339 datetime string representing the time at which the model was released. * May be set to an epoch value if the release date is unknown. */ created_at: string; /** * A human-readable name for the model. */ display_name: string; /** * Maximum input context window size in tokens for this model. */ max_input_tokens: number | null; /** * Maximum value for the `max_tokens` parameter when using this model. */ max_tokens: number | null; /** * Object type. * * For Models, this is always `"model"`. */ type: 'model'; } /** * Thinking capability details. */ export interface BetaThinkingCapability { /** * Whether this capability is supported by the model. */ supported: boolean; /** * Supported thinking type configurations. */ types: BetaThinkingTypes; } /** * Supported thinking type configurations. */ export interface BetaThinkingTypes { /** * Whether the model supports thinking with type 'adaptive' (auto). */ adaptive: BetaCapabilitySupport; /** * Whether the model supports thinking with type 'enabled'. */ enabled: BetaCapabilitySupport; } export interface ModelRetrieveParams { /** * Optional header to specify the beta version(s) you want to use. */ betas?: Array; } export interface ModelListParams extends PageParams { /** * Header param: Optional header to specify the beta version(s) you want to use. */ betas?: Array; } export declare namespace Models { export { type BetaCapabilitySupport as BetaCapabilitySupport, type BetaContextManagementCapability as BetaContextManagementCapability, type BetaEffortCapability as BetaEffortCapability, type BetaModelCapabilities as BetaModelCapabilities, type BetaModelInfo as BetaModelInfo, type BetaThinkingCapability as BetaThinkingCapability, type BetaThinkingTypes as BetaThinkingTypes, type BetaModelInfosPage as BetaModelInfosPage, type ModelRetrieveParams as ModelRetrieveParams, type ModelListParams as ModelListParams, }; } //# sourceMappingURL=models.d.mts.map