/**
 * Agent response and session state types
 */
export const RATE_LIMIT_ERROR_MESSAGE = 'Rate limit exceeded. Please try again later.';
export function resolveAgentErrorMessage(errorKind, fallbackMessage) {
    if (errorKind === 'rate_limit' && fallbackMessage.trim().length === 0) {
        return RATE_LIMIT_ERROR_MESSAGE;
    }
    return fallbackMessage;
}
//# sourceMappingURL=response.js.map