liveBook · Manning

Airplane mode test

As explained in Build Applications with Local AI Models on a Mac

An airplane mode test is a procedure that verifies whether an application continues operating when a device has no network connectivity.

An airplane mode test checks whether a chatbot really works without an internet connection. If it keeps answering after you disconnect, you have verified that it can run offline—not merely that it worked while your device was online. section 14.1

Test the chatbot in this order:

  • While online, ask a question and confirm that you get an answer. section 14.1
  • Turn off Wi-Fi; optionally turn off Bluetooth for a stricter test. Try loading a website, then run `ping google.com` in the terminal to check that connectivity is gone. section 14.1 section 14.5
  • Ask the chatbot at least five different questions while offline. Try switching models, changing system prompts, and adjusting the temperature slider. Note whether answers still stream normally. section 14.1 section 14.5
  • Turn networking back on. Write down any differences you observed between online and offline behavior. section 14.5

A simple offline question

After confirming that a website will not load, ask: “Explain the theory of relativity in simple terms.” If the chatbot answers normally, repeat with other questions rather than relying on a single reply. section 14.1

Download a model with `ollama pull` before disconnecting; that initial download needs internet access. Successful offline answers confirm that inference does not need a connection. Whether prompts and responses remain on your device also depends on the surrounding application, operating system, and network configuration. section 14.1 section 14.6

How Build Applications with Local AI Models on a Mac covers it

How deep it goes
Gives a step-by-step check of baseline behavior, disconnection, connectivity, offline conversation, and restoration; does not audit application internals.
Examples
Uses a website load, `ping google.com`, varied chatbot questions, model switching, and a written online-versus-offline comparison.
What it assumes
Assumes a working chatbot and an already downloaded model; shows how to confirm that network access is unavailable.
What you can do after
Diagnose/debug with it whether a chatbot answers without internet access and record any changes in offline behavior.
How it connects
Connects offline inference to local AI, model downloads, network connectivity, and privacy risks.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Applications with Local AI Models on a Mac. The section links point to the parts of the book it draws on.