( model: TModel, config?: Omit<SDKOptions, 'apiKey'>, )
| 1437 | } |
| 1438 | |
| 1439 | export function openRouterText<TModel extends OpenRouterTextModels>( |
| 1440 | model: TModel, |
| 1441 | config?: Omit<SDKOptions, 'apiKey'>, |
| 1442 | ): OpenRouterTextAdapter<TModel, ResolveToolCapabilities<TModel>> { |
| 1443 | const apiKey = getOpenRouterApiKeyFromEnv() |
| 1444 | return createOpenRouterText(model, apiKey, config) |
| 1445 | } |
no test coverage detected