| 43 | * - `listModels()` async iteration shape |
| 44 | */ |
| 45 | export interface InferenceClient { |
| 46 | createMessage(...args: InferenceCreateMessageArgs): InferenceCreateMessageResult |
| 47 | countTokens(...args: InferenceCountTokensArgs): InferenceCountTokensResult |
| 48 | listModels(...args: InferenceListModelsArgs): InferenceListModelsResult |
| 49 | } |
| 50 | |
| 51 | class AnthropicInferenceClient implements InferenceClient { |
| 52 | constructor(private readonly anthropic: Anthropic) {} |
no outgoing calls
no test coverage detected