d260dbb198f1cef7809debf376899fc20d45f116
- Add `Setting` model to Prisma schema for storing API keys and model configs. - Implement `SettingService` and API for managing application settings. - Refactor `src/service/ai.ts` to `UnifiedAIService` supporting dynamic OpenAI and Google provider selection. - Add Settings page (`src/ui/pages/Settings.tsx`) to configure providers and default models. - Update `AppSidebar` to include Settings, use text-under-icon style, and decrease sidebar width to 4.5rem. - Update `Layout` to move "Forgery" title to header and add GitHub link. - Add unit tests for `SettingService` and `UnifiedAIService`, mocking database interactions to resolve test environment issues. - Fix API URL path for settings in frontend client.
Description
Build, remix, and re-style characters with AI
6 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
99.4%
CSS
0.4%
Dockerfile
0.1%