{
  "id": 17882101,
  "title": "Ask AI providers, and where your key lives",
  "url": "https://urgent.news/2026/11/03/ask-ai-providers-and-where-your-key-lives",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-03T00:48:31.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jslab/ask-ai-providers-and-where-your-key-lives-4j77"
  },
  "original_language": "en",
  "account": "JSLab's Ask AI feature allows users to interact with AI providers and receive code changes as a diff. Users can configure the AI provider in Settings → AI, with options like Ollama (local) that does not require an API key. Ollama is a free program that runs models on a user's Mac, eliminating the need for an API key and keeping all interactions local. To set up Ollama, users need to install and start the program themselves, then choose Ollama (Local) as the provider and save the settings. JSLab will automatically detect and display the installed Ollama models in the Model field. Users can also set a custom Base URL if needed. API keys for OpenAI, Anthropic, and Google Gemini are stored in the Keychain and sent via a request header in the AI provider's Base URL, ensuring secure communication between JSLab and the AI provider.",
  "summary": "JSLab feature notes: one docs page, explained. Today: AI providers and keys . JSLab's Ask AI panel answers questions about the code in your tab and returns changes as a diff. It doesn't come with a model of its own: it uses your own key, or Ollama locally. This note is about that setup. One provider at a time Everything lives in Settings → AI . Provider starts at None , which turns AI Chat off.…",
  "key_points": [
    "JSLab's Ask AI feature enables code diff interactions with AI providers.",
    "Ollama, a local AI option, requires no API key and runs on user's Mac.",
    "API keys for OpenAI, Anthropic, and Google Gemini are securely stored in Keychain."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}