Skip to main content

Generation fails when app or chat is not active

I’ve encountered a few cases where I send a message and it fails to generate:

  1. When the app is not active: switching apps or locking the phone after sending a message

    • Received error ‘fetch failed: Network connection was lost’ with Claude Sonnet 4.5

    • Received error ‘could not parse response’ with gpt-5-mini

    • DID NOT receive an error with gpt-5

  2. Opening a different chat in BoltAI while the response is being generated

    • No error, no response with gpt-5, 5-mini, and Claude Sonnet 4.5

Since tool calling and reasoning take a few minutes sometimes, this is a pretty big obstacle to multitasking. I’ll do some more testing later, it could totally be just those models or something about my setup.

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Daniel Nguyen changed status to Completed
    Team•

    Mar 20

    Pinned

    I fixed this in build 27. Can you confirm?

  • Daniel Nguyen

    Team•

    Jan 27

    This is a known issue and can be quite tricky to solve. iOS has a very strict requirement for network requests. If the app is not active, the OS automatically terminate the network connection after 30s.

    Other apps such as ChatGPT address this issue by putting the inference to the server side. Instead of sending requests directly to the AI server for example, now we need an intermediary proxy server. Many users do not like this because of privacy concerns. Also this won’t work for local inference servers.

    I think I could make it an option. But it’s still quite tricky to get right.