Model keys & knowledge base

1. Configure model keys

The built-in AI needs a working model key:

  1. Open Me → Settings → AI assistant.
  2. Find Model key configuration.
  3. Click Add model key.
  4. Choose the provider, enter the API key and click Save.

The list shows:

External AI models run through the local connector and use the local CLI login state; they do not use keys configured here.

2. Check usage

Under Settings → AI assistant → Usage you can see:

Click View history for per-call billing details; an empty list means there have been no calls in the current period.

3. Knowledge base

Knowledge bases provide long-term memory and semantic retrieval for AI.

Create a knowledge base

In an AI conversation’s knowledge base panel, click Create and fill in:

Add entries

Open the knowledge base and click Add to:

Saved entries become searchable by AI when answering.

Attach to a conversation

Delete

Document retrieval is still being improved. If some documents do not appear in results, add the key facts as entries first.