Add AI settings view for API key configuration #15

Open
opened 2026-02-17 15:28:47 +00:00 by mik-tf · 1 comment
Owner

Context

The books island search has AI summary powered by Groq/OpenRouter via hero_books API. Currently keys are only configurable via env vars (~/hero/cfg/env/env.sh). Need a settings UI to configure AI provider keys at runtime.

Goals

  • Settings view in the books island with masked input fields for Groq, OpenRouter, SambaNova keys and embedder URL
  • Calls admin.settings.get / admin.settings.set RPC endpoints on hero_books (backend tracked separately)
  • Connection test indicator per provider
  • Depends on hero_books settings API (lhumina_code/hero_books)
## Context The books island search has AI summary powered by Groq/OpenRouter via hero_books API. Currently keys are only configurable via env vars (`~/hero/cfg/env/env.sh`). Need a settings UI to configure AI provider keys at runtime. ## Goals - Settings view in the books island with masked input fields for Groq, OpenRouter, SambaNova keys and embedder URL - Calls `admin.settings.get` / `admin.settings.set` RPC endpoints on hero_books (backend tracked separately) - Connection test indicator per provider - Depends on hero_books settings API (lhumina_code/hero_books)
Author
Owner

This issue is addressed by PR #14 (development_books_native_island), which includes a full Settings view for AI API key configuration.

Key features implemented:

  • Unified settings UI with status indicators per provider (Groq, OpenRouter, SambaNova)
  • API key input with masked display of existing keys
  • Real-time status check (green/red dot) for each provider
  • Key persistence via hero_books server API
  • Error detection and user-friendly messages

Will be closed when PR #14 is merged.

This issue is addressed by PR #14 (`development_books_native_island`), which includes a full Settings view for AI API key configuration. Key features implemented: - Unified settings UI with status indicators per provider (Groq, OpenRouter, SambaNova) - API key input with masked display of existing keys - Real-time status check (green/red dot) for each provider - Key persistence via hero_books server API - Error detection and user-friendly messages Will be closed when PR #14 is merged.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#15
No description provided.