feat(chat): centralize LLM model configs and add provider presets#17
Conversation
1868b3b to
c0865c2
Compare
c0865c2 to
fc6c812
Compare
|
Thanks for this PR! The refactoring is well-structured — extracting A few things I noticed: 1. Unrelated test changes bundled in The 2. Existing user config migration All provider 3. The regex 4. Unused exports in
5. Anthropic default model change: Opus → Sonnet The default model changed from Overall this looks good — nice work! Happy to approve once the above points are addressed or clarified. |
Summary
llmModels.tssource of truth and refactorllmClient.tsto consume itDetail
Validation
cd apps/webuiapps && pnpm test -- --run src/lib/__tests__/llmClient.test.ts(40/40 passed)pnpm -w run lint(passed)cd apps/webuiapps && pnpm build(passed)