`\nSlow response times detected. Switching to the ${fallbackModel} model for the rest of this session.`;
constgetRateLimitErrorMessageGoogleProQuotaFree=(
currentModel: string=DEFAULT_GEMINI_MODEL,
fallbackModel: string=DEFAULT_GEMINI_FLASH_MODEL,
)=>
`\nYou have reached your daily ${currentModel} quota limit. You will be switched to the ${fallbackModel} model for the rest of this session. To increase your limits, upgrade to a Gemini Code Assist Standard or Enterprise plan with higher limits at https://goo.gle/set-up-gemini-code-assist, or use /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;
`\nYou have reached your daily quota limit. To increase your limits, upgrade to a Gemini Code Assist Standard or Enterprise plan with higher limits at https://goo.gle/set-up-gemini-code-assist, or use /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;
// Legacy/Standard Tier message functions
constgetRateLimitErrorMessageGooglePaid=(
fallbackModel: string=DEFAULT_GEMINI_FLASH_MODEL,
)=>
`\nSlow response times detected. Switching to the ${fallbackModel} model for the rest of this session. We appreciate you for choosing Gemini Code Assist and the Gemini CLI.`;
constgetRateLimitErrorMessageGoogleProQuotaPaid=(
currentModel: string=DEFAULT_GEMINI_MODEL,
fallbackModel: string=DEFAULT_GEMINI_FLASH_MODEL,
)=>
`\nYou have reached your daily ${currentModel} quota limit. You will be switched to the ${fallbackModel} model for the rest of this session. We appreciate you for choosing Gemini Code Assist and the Gemini CLI. To continue accessing the ${currentModel} model today, consider using /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;
`\nYou have reached your daily quota limit. We appreciate you for choosing Gemini Code Assist and the Gemini CLI. To continue accessing the ${currentModel} model today, consider using /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;