9 Commits

Author SHA1 Message Date
YuTengjing
6ecba929b7 🔨 chore: remove dead eslint disable comments for deleted rules (#12597) 2026-03-02 23:18:01 +08:00
YuTengjing
5074fbef2c ♻️ refactor: optimize lobehub models and default configuration (#11621)
* ♻️ refactor: use COPYRIGHT constant from branding config

* ♻️ refactor: optimize default model configuration

- Switch default provider from OpenAI to Anthropic
- Add DEFAULT_MINI_MODEL and DEFAULT_MINI_PROVIDER for lightweight tasks
- Use mini model for system agent tasks: generationTopic, topic, translation, queryRewrite
- Use mini model for memory extraction agents
- Reorder provider list: Anthropic/Google first, local solutions last

* ♻️ refactor: split lobehub models into organized folder structure

- Split large lobehub.ts (1316 lines) into lobehub/ folder
- Organize chat models by provider (openai, anthropic, google, etc.)
- Separate image models and utils into dedicated files

* ♻️ refactor: use SOCIAL_URL constant and fix button alignment in auth-error page

*  feat: add MiniMax M2.1 and M2.1 Lightning models

* ♻️ refactor: remove 'enabled' property from image model configurations in lobehub

* ♻️ refactor: add COPYRIGHT_FULL constant and fix Discord icon visibility

*  test: update snapshots for default provider changes

*  test: fix snapshot provider values for CI environment

* 🐛 fix(e2e): intercept all LLM providers in mock instead of only OpenAI

The default provider was changed from openai to anthropic, but the LLM mock
only intercepted /webapi/chat/openai requests. Now it intercepts all providers.
2026-01-20 20:08:54 +08:00
YuTengjing
1e03005e0e 🐛 fix: prevent auto navigation to profile when clicking topic (#11500) 2026-01-14 21:14:11 +08:00
YuTengjing
ddca1652bb feat(share): add topic sharing functionality (#11448) 2026-01-13 22:10:48 +08:00
YuTengjing
28f0dab520 fix: circle deps 2025-12-26 20:41:27 +08:00
YuTengjing
41c0b3bab3 refactor: expose lobehub models 2025-12-25 21:48:30 +08:00
YuTengjing
92ca00eb85 refactor: remove some unused business code 2025-12-25 21:19:19 +08:00
Rene Wang
f2dd3894c6 lint: Create consts for URLs 2025-12-25 10:30:00 +08:00
YuTengjing
ca16409b39 🔨 chore: project structure businessify (#10930) 2025-12-24 17:52:22 +08:00