spacr.qt.ai.keys

API key store — LEGACY.

The AI Console now shells out to the vendor coding-agent CLIs (claude / codex / gemini), each of which authenticates against the user’s chat subscription instead of a metered API key. Nothing in the Qt GUI uses API keys anymore.

The module is kept as a thin stub so any external code that imported spacr.qt.ai.keys doesn’t break — every function returns “not configured”.

Module Contents

spacr.qt.ai.keys.SERVICE_NAME = 'spacr-qt-ai'[source]
spacr.qt.ai.keys.get_key(provider: str) str | None[source]

Always None — the CLI-based providers don’t take API keys.

spacr.qt.ai.keys.set_key(provider: str, key: str) bool[source]

No-op — CLI-based providers do not store API keys. Always False.

spacr.qt.ai.keys.delete_key(provider: str) None[source]

No-op — CLI-based providers do not store API keys.

spacr.qt.ai.keys.source_of(provider: str) str[source]

Return a compat label indicating the CLI-login model.