feat: admin settings API for AI key configuration #57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_books_settings_api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds persistent AI settings with two admin RPC endpoints for runtime key management.
Closes #56
Changes
src/admin/settings.rs:AiSettingsstruct with load/save/apply_to_env, masked key status, TOML persistenceadmin.settings.get: returns per-provider status (configured, masked_key, source: settings|env)admin.settings.set: updates keys, persists to disk, applies to process env immediatelymain.rsbefore any AI calls~/hero/var/hero_books/settings.tomlTesting
cargo checkpassesadmin.settings.getreturns correct status when keys are in envadmin.settings.setpersists and applies keysfeat: admin settings API for AI key configurationto WIP: feat: admin settings API for AI key configurationWIP: feat: admin settings API for AI key configurationto feat: admin settings API for AI key configurationmik-tf referenced this pull request2026-02-19 01:20:46 +00:00
mik-tf referenced this pull request2026-02-19 01:20:58 +00:00
Closing: work consolidated into PR #60. Settings API commits merged into the new branch.
Closing: work consolidated into PR #60. Settings API commits merged into the new branch.
Pull request closed