| 44 | } |
| 45 | |
| 46 | export interface LanguageModel { |
| 47 | invoke<T>(options: InferenceOptions<T>): Promise<InferenceResult<T>>; |
| 48 | |
| 49 | /** The model identifier string (e.g. "claude-3-5-sonnet-20241022"). */ |
| 50 | readonly modelId: string; |
| 51 | |
| 52 | /** The LLM provider this model belongs to. */ |
| 53 | readonly provider: ModelProvider; |
| 54 | } |
no outgoing calls
no test coverage detected