OpenRouterDrafter constructor

OpenRouterDrafter({
  1. String model = defaultModel,
  2. String? apiKey,
  3. Client? client,
})

Implementation

OpenRouterDrafter({super.model, super.apiKey, super.client})
    : super(
        baseUrl: defaultBaseUrl,
        headers: const {
          'HTTP-Referer': 'https://github.com/stringlocale/stringlocale',
          'X-Title': 'stringlocale',
        },
      );