Let \( f(x) = \sin x - \cos x \). Then the value of
\[ \lim_{x \to \frac{\pi}{2}} \frac{f(x) - f\left(\frac{\pi}{2}\right)}{x - \frac{\pi}{2}} \]
is ______.