( model: TModel, config?: Omit<SDKOptions, 'apiKey'>, )
| 72 | * ``` |
| 73 | */ |
| 74 | export function openRouterSummarize<TModel extends OpenRouterTextModels>( |
| 75 | model: TModel, |
| 76 | config?: Omit<SDKOptions, 'apiKey'>, |
| 77 | ): ChatStreamSummarizeAdapter< |
| 78 | TModel, |
| 79 | InferTextProviderOptions<OpenRouterTextAdapter<TModel>> |
| 80 | > { |
| 81 | return createOpenRouterSummarize(model, getOpenRouterApiKeyFromEnv(), config) |
| 82 | } |
no test coverage detected