AnthropicModels class
Anthropic Models capability implementation
This module handles model listing functionality for Anthropic providers. Reference: https://docs.anthropic.com/en/api/models-list
- Implemented types
Constructors
- AnthropicModels(AnthropicClient client, AnthropicConfig config)
Properties
- client → AnthropicClient
- 
  
  final
- config → AnthropicConfig
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- modelsEndpoint → String
- 
  
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  getModel(String modelId) → Future< AIModel?> 
- Get information about a specific model
- 
  listModels({String? beforeId, String? afterId, int limit = 20, CancelToken? cancelToken}) → Future< List< AIModel> >
- List available models from Anthropic API
- 
  models({CancelToken? cancelToken}) → Future< List< AIModel> >
- 
  Get available models from the provider
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited