UNPKG

buroventures-harald-code-core

Version:

Harald Code Core - Core functionality for AI-powered coding assistant

15 lines (14 loc) 643 B
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Checks if the default "pro" model is rate-limited and returns a fallback "flash" * model if necessary. This function is designed to be silent. * @param apiKey The API key to use for the check. * @param currentConfiguredModel The model currently configured in settings. * @returns An object indicating the model to use, whether a switch occurred, * and the original model if a switch happened. */ export declare function getEffectiveModel(_apiKey: string, currentConfiguredModel: string, _proxy: string | undefined): Promise<string>;