/
opt
/
canhelp
/
node_modules
/
@anthropic-ai
/
sdk
/
resources
/
/opt/canhelp/node_modules/@anthropic-ai/sdk/resources
mkdir
upload
Name
Size
Mode
Actions
beta/
-
0755
rm
messages/
-
0755
rm
beta.d.mts
69
0644
edit
dl
rm
beta.d.mts.map
113
0644
edit
dl
rm
beta.d.ts
67
0644
edit
dl
rm
beta.d.ts.map
112
0644
edit
dl
rm
beta.js
304
0644
edit
dl
rm
beta.js.map
137
0644
edit
dl
rm
beta.mjs
154
0644
edit
dl
rm
beta.mjs.map
122
0644
edit
dl
rm
completions.d.mts
7233
0644
edit
dl
rm
completions.d.mts.map
1949
0644
edit
dl
rm
completions.d.ts
7225
0644
edit
dl
rm
completions.d.ts.map
1948
0644
edit
dl
rm
completions.js
922
0644
edit
dl
rm
completions.js.map
709
0644
edit
dl
rm
completions.mjs
766
0644
edit
dl
rm
completions.mjs.map
707
0644
edit
dl
rm
index.d.mts
5835
0644
edit
dl
rm
index.d.mts.map
3509
0644
edit
dl
rm
index.d.ts
5829
0644
edit
dl
rm
index.d.ts.map
3508
0644
edit
dl
rm
index.js
1017
0644
edit
dl
rm
index.js.map
280
0644
edit
dl
rm
index.mjs
335
0644
edit
dl
rm
index.mjs.map
207
0644
edit
dl
rm
messages.d.mts
77
0644
edit
dl
rm
messages.d.mts.map
121
0644
edit
dl
rm
messages.d.ts
75
0644
edit
dl
rm
messages.d.ts.map
120
0644
edit
dl
rm
messages.js
312
0644
edit
dl
rm
messages.js.map
145
0644
edit
dl
rm
messages.mjs
162
0644
edit
dl
rm
messages.mjs.map
130
0644
edit
dl
rm
models.d.mts
5783
0644
edit
dl
rm
models.d.mts.map
2610
0644
edit
dl
rm
models.d.ts
5777
0644
edit
dl
rm
models.d.ts.map
2609
0644
edit
dl
rm
models.js
1747
0644
edit
dl
rm
models.js.map
1103
0644
edit
dl
rm
models.mjs
1556
0644
edit
dl
rm
models.mjs.map
1105
0644
edit
dl
rm
shared.d.mts
1337
0644
edit
dl
rm
shared.d.mts.map
1210
0644
edit
dl
rm
shared.d.ts
1336
0644
edit
dl
rm
shared.d.ts.map
1209
0644
edit
dl
rm
shared.js
198
0644
edit
dl
rm
shared.js.map
126
0644
edit
dl
rm
shared.mjs
133
0644
edit
dl
rm
shared.mjs.map
126
0644
edit
dl
rm
top-level.d.mts
51
0644
edit
dl
rm
top-level.d.mts.map
142
0644
edit
dl
rm
top-level.d.ts
50
0644
edit
dl
rm
top-level.d.ts.map
141
0644
edit
dl
rm
top-level.js
201
0644
edit
dl
rm
top-level.js.map
132
0644
edit
dl
rm
top-level.mjs
136
0644
edit
dl
rm
top-level.mjs.map
132
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/@anthropic-ai/sdk/resources/models.d.ts
(5777B)
import { APIResource } from "../core/resource.js"; import * as BetaAPI from "./beta/beta.js"; import { APIPromise } from "../core/api-promise.js"; import { Page, type PageParams, PagePromise } from "../core/pagination.js"; import { RequestOptions } from "../internal/request-options.js"; 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. */ retrieve(modelID: string, params?: ModelRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ModelInfo>; /** * 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. */ list(params?: ModelListParams | null | undefined, options?: RequestOptions): PagePromise<ModelInfosPage, ModelInfo>; } export type ModelInfosPage = Page<ModelInfo>; /** * Indicates whether a capability is supported. */ export interface CapabilitySupport { /** * Whether this capability is supported by the model. */ supported: boolean; } /** * Context management capability details. */ export interface ContextManagementCapability { /** * Indicates whether a capability is supported. */ clear_thinking_20251015: CapabilitySupport | null; /** * Indicates whether a capability is supported. */ clear_tool_uses_20250919: CapabilitySupport | null; /** * Indicates whether a capability is supported. */ compact_20260112: CapabilitySupport | null; /** * Whether this capability is supported by the model. */ supported: boolean; } /** * Effort (reasoning_effort) capability details. */ export interface EffortCapability { /** * Whether the model supports high effort level. */ high: CapabilitySupport; /** * Whether the model supports low effort level. */ low: CapabilitySupport; /** * Whether the model supports max effort level. */ max: CapabilitySupport; /** * Whether the model supports medium effort level. */ medium: CapabilitySupport; /** * Whether this capability is supported by the model. */ supported: boolean; } /** * Model capability information. */ export interface ModelCapabilities { /** * Whether the model supports the Batch API. */ batch: CapabilitySupport; /** * Whether the model supports citation generation. */ citations: CapabilitySupport; /** * Whether the model supports code execution tools. */ code_execution: CapabilitySupport; /** * Context management support and available strategies. */ context_management: ContextManagementCapability; /** * Effort (reasoning_effort) support and available levels. */ effort: EffortCapability; /** * Whether the model accepts image content blocks. */ image_input: CapabilitySupport; /** * Whether the model accepts PDF content blocks. */ pdf_input: CapabilitySupport; /** * Whether the model supports structured output / JSON mode / strict tool schemas. */ structured_outputs: CapabilitySupport; /** * Thinking capability and supported type configurations. */ thinking: ThinkingCapability; } export interface ModelInfo { /** * Unique model identifier. */ id: string; /** * Model capability information. */ capabilities: ModelCapabilities | 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 ThinkingCapability { /** * Whether this capability is supported by the model. */ supported: boolean; /** * Supported thinking type configurations. */ types: ThinkingTypes; } /** * Supported thinking type configurations. */ export interface ThinkingTypes { /** * Whether the model supports thinking with type 'adaptive' (auto). */ adaptive: CapabilitySupport; /** * Whether the model supports thinking with type 'enabled'. */ enabled: CapabilitySupport; } export interface ModelRetrieveParams { /** * Optional header to specify the beta version(s) you want to use. */ betas?: Array<BetaAPI.AnthropicBeta>; } export interface ModelListParams extends PageParams { /** * Header param: Optional header to specify the beta version(s) you want to use. */ betas?: Array<BetaAPI.AnthropicBeta>; } export declare namespace Models { export { type CapabilitySupport as CapabilitySupport, type ContextManagementCapability as ContextManagementCapability, type EffortCapability as EffortCapability, type ModelCapabilities as ModelCapabilities, type ModelInfo as ModelInfo, type ThinkingCapability as ThinkingCapability, type ThinkingTypes as ThinkingTypes, type ModelInfosPage as ModelInfosPage, type ModelRetrieveParams as ModelRetrieveParams, type ModelListParams as ModelListParams, }; } //# sourceMappingURL=models.d.ts.map
Save
cmd:
run