Skip to content

AI 0.1.4: API keys move to PhoenixKit Integrations

AI 0.1.4 moves API keys out of the AI endpoints. Instead of typing an OpenRouter key into every endpoint, you set the key up once under Settings, Integrations, and each endpoint picks that connection.

On the endpoint form

The API Key field and its validate button are replaced by an OpenRouter Connection picker that lists your OpenRouter integrations. When no connection exists, it links to the page for adding one. With a single connection, a new endpoint selects it right away and loads its models. The form also refreshes when integrations change.

When a request goes out, the key is taken from the endpoint’s integration.

Upgrading

Before updating, add an OpenRouter integration under Settings, Integrations. Endpoints whose integration is missing or not connected now refuse requests with a message pointing there, and an endpoint whose integration was deleted asks you to pick a new one. The module now lists OpenRouter as an integration it requires.

Full release notes: AI 0.1.4

0.1.4 · 6 April 2026

Changed

  • Migrate API key management to centralized PhoenixKit.Integrations system
  • Endpoint provider field now stores integration connection UUID
  • Endpoint form uses shared IntegrationPicker component
  • Declares required_integrations: ["openrouter"]

AI 0.1.4. Install or update: {:phoenix_kit_ai, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.