> ## Documentation Index
> Fetch the complete documentation index at: https://superwhisper.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI formatting didn't run and pasted raw text

> Fix dictations where the AI step failed and Superwhisper pasted your raw transcription. Your words are safe in History.

When the AI processing step (the language model that formats your text) fails on macOS, Superwhisper pastes your raw transcription instead. You see unformatted text where you expected the mode's output. Your words aren't lost: the dictation is saved in [History](/docs/get-started/history), and you can [reprocess it](/docs/get-started/history#reprocess-a-dictation) once the cause is fixed.

On Windows, you may see an error instead. The messages are **Error during local LLM inference** or **Error while making chat query**. The fixes below apply to both.

## Fix the error

<Steps>
  <Step title="Check your connection">
    Most language models run in the cloud, even in modes with a local voice model. If you're offline, switch the mode's **Language Model** to a local one like **S1-mini** or reconnect.
  </Step>

  <Step title="Retry from History">
    Open the dictation in [History](/docs/get-started/history#reprocess-a-dictation) and reprocess it. Transient provider errors clear on retry.
  </Step>

  <Step title="Switch the language model">
    Edit the mode and pick a different **Language Model**. If the error follows one specific model, that provider is the problem.
  </Step>

  <Step title="Update Superwhisper">
    Use **Check for Updates** in **Settings → Configuration**. Updates can include fixes for provider changes.
  </Step>
</Steps>

## Errors with your own API keys

If the failing model is one you added under **Settings → Models library → Bring your own keys**:

* **Re-check the key**: paste it fresh from the provider's dashboard. Expired or restricted keys can fail.
* **Google Gemini keys**: if a Gemini key keeps failing, create a new key in Google AI Studio and paste it fresh.
* **Check provider status**: an outage at the provider can make the AI step fail.

Built-in cloud models need none of this. If you don't need your own keys, switch the mode back to a built-in model.

## Report it

Turn on **Error logging** in **Settings → Configuration**, reproduce the error once, then [report the recording from History](/docs/get-started/history#report-an-issue). Name the mode and the model it uses in your report.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.