You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use Apple's on-device model for inline suggestions and the Review, Explain, Optimize and Fix actions #3611
Every AI request goes to the active provider. The providers that keep data on the Mac, Ollama, llama.cpp and MLX, each need a server installed and started first (features/ai-assistant.mdx:42, :162). There is no option that sends nothing over the network and needs no setup.
#1048 built a Foundation Models transport for the chat and was closed on 2026-06-08. The on-device model's context window is about 4,000 tokens, and the chat's system prompt, tool schemas and tool results fill it after one or two agent turns, so generation fails with exceededContextWindowSize. The same comment found that plain chat and single-turn requests work.
Some features send one bounded request and no tools:
Review, Explain, Optimize and Fix send the statement and the structure of the tables it names (features/ai-assistant.mdx:115-133).
Inline suggestions send the text around the cursor (features/ai-assistant.mdx:145-147).
Offered on macOS 26 and later where SystemLanguageModel.default.availability reports the model available. Elsewhere it is listed but dimmed with the reason: the Mac is not eligible, Apple Intelligence is off, or the model is still downloading. TablePro's macOS 13 minimum stays.
Measure the request before sending it. When the statement and table structure do not fit, keep only the columns the statement uses, and when it still does not fit, say so and offer the active provider instead of failing mid-reply.
List it beside Ollama, llama.cpp and MLX in the privacy text: nothing leaves the Mac.
Done when: on macOS 26 with Apple Intelligence on, inline suggestions and all four actions answer with no network request, a request too large for the model is refused before generation with a clear message, and an ineligible Mac shows why the choice is dimmed.
Alternatives considered
Install and run Ollama, llama.cpp or MLX and add it as the active provider.
Activity