google-labs-jules[bot] d260dbb198 feat: Add AI provider settings and update UI layout
- 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.
2026-02-09 14:58:16 +00:00
2026-02-08 16:11:07 +08:00
2026-02-08 16:11:07 +08:00
2026-02-08 22:51:06 +08:00
2026-02-08 22:51:06 +08:00

To install dependencies:

bun install

To run:

bun run dev

open http://localhost:3000

S
Description
Build, remix, and re-style characters with AI
Readme MIT
6 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 99.4%
CSS 0.4%
Dockerfile 0.1%