@lobehub/lobehub 2.0.0-next.185 → 2.0.0-next.187

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/changelog/v1.json +18 -0
  3. package/e2e/src/support/webServer.ts +0 -1
  4. package/next.config.ts +14 -1
  5. package/package.json +2 -1
  6. package/packages/fetch-sse/src/__tests__/request.test.ts +608 -0
  7. package/packages/model-bank/src/aiModels/aihubmix.ts +44 -8
  8. package/packages/model-bank/src/aiModels/google.ts +49 -17
  9. package/packages/model-bank/src/aiModels/hunyuan.ts +20 -0
  10. package/packages/model-bank/src/aiModels/infiniai.ts +48 -7
  11. package/packages/model-bank/src/aiModels/lobehub.ts +13 -11
  12. package/packages/model-bank/src/aiModels/minimax.ts +46 -2
  13. package/packages/model-bank/src/aiModels/ollamacloud.ts +40 -5
  14. package/packages/model-bank/src/aiModels/openai.ts +6 -3
  15. package/packages/model-bank/src/aiModels/qwen.ts +1 -1
  16. package/packages/model-bank/src/aiModels/siliconcloud.ts +60 -0
  17. package/packages/model-bank/src/aiModels/vertexai.ts +77 -44
  18. package/packages/model-bank/src/aiModels/volcengine.ts +111 -2
  19. package/packages/model-bank/src/aiModels/zenmux.ts +19 -13
  20. package/packages/model-bank/src/aiModels/zhipu.ts +64 -2
  21. package/packages/model-bank/src/types/aiModel.ts +3 -0
  22. package/packages/model-runtime/src/providers/volcengine/index.ts +2 -1
  23. package/packages/model-runtime/src/providers/zhipu/index.test.ts +0 -27
  24. package/packages/model-runtime/src/providers/zhipu/index.ts +1 -1
  25. package/packages/model-runtime/src/utils/modelParse.ts +26 -21
  26. package/packages/types/src/agent/chatConfig.ts +6 -2
  27. package/packages/types/src/message/common/base.ts +1 -1
  28. package/packages/types/src/message/ui/chat.ts +3 -3
  29. package/packages/types/src/message/ui/extra.ts +2 -2
  30. package/packages/types/src/openai/plugin.ts +1 -1
  31. package/packages/types/src/session/agentSession.ts +1 -1
  32. package/packages/types/src/user/settings/index.ts +1 -1
  33. package/src/app/(backend)/oidc/[...oidc]/route.ts +2 -2
  34. package/src/app/[variants]/(auth)/oauth/consent/[uid]/page.tsx +2 -2
  35. package/src/envs/auth.ts +2 -0
  36. package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +40 -1
  37. package/src/features/ChatInput/ActionBar/Model/GPT52ProReasoningEffortSlider.tsx +59 -0
  38. package/src/features/ChatInput/ActionBar/Model/GPT52ReasoningEffortSlider.tsx +61 -0
  39. package/src/features/ChatInput/ActionBar/Model/TextVerbositySlider.tsx +1 -1
  40. package/src/features/ChatInput/ActionBar/Model/ThinkingLevel2Slider.tsx +58 -0
  41. package/src/features/ChatInput/ActionBar/Model/ThinkingLevelSlider.tsx +10 -8
  42. package/src/libs/next/config/define-config.ts +19 -10
  43. package/src/libs/next/proxy/define-config.ts +4 -5
  44. package/src/libs/trpc/lambda/context.ts +9 -11
  45. package/src/server/services/oidc/oidcProvider.ts +2 -2
  46. package/src/services/chat/mecha/modelParamsResolver.ts +11 -0
  47. package/vercel.json +1 -1
  48. package/src/envs/oidc.ts +0 -18
package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 2.0.0-next.187](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.186...v2.0.0-next.187)
6
+
7
+ <sup>Released on **2026-01-01**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add Gemini 3 Flash & Doubao Seed 1.8 models.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add Gemini 3 Flash & Doubao Seed 1.8 models, closes [#10832](https://github.com/lobehub/lobe-chat/issues/10832) ([cb35935](https://github.com/lobehub/lobe-chat/commit/cb35935))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ## [Version 2.0.0-next.186](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.185...v2.0.0-next.186)
31
+
32
+ <sup>Released on **2026-01-01**</sup>
33
+
34
+ #### ♻ Code Refactoring
35
+
36
+ - **misc**: Refactor oidc env to auth env.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Code refactoring
44
+
45
+ - **misc**: Refactor oidc env to auth env, closes [#11095](https://github.com/lobehub/lobe-chat/issues/11095) ([6e8d4ff](https://github.com/lobehub/lobe-chat/commit/6e8d4ff))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ## [Version 2.0.0-next.185](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.184...v2.0.0-next.185)
6
56
 
7
57
  <sup>Released on **2026-01-01**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Add Gemini 3 Flash & Doubao Seed 1.8 models."
6
+ ]
7
+ },
8
+ "date": "2026-01-01",
9
+ "version": "2.0.0-next.187"
10
+ },
11
+ {
12
+ "children": {
13
+ "improvements": [
14
+ "Refactor oidc env to auth env."
15
+ ]
16
+ },
17
+ "date": "2026-01-01",
18
+ "version": "2.0.0-next.186"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "improvements": [
@@ -101,7 +101,6 @@ export async function startWebServer(options: WebServerOptions): Promise<void> {
101
101
  ...process.env,
102
102
  // E2E test secret keys
103
103
  BETTER_AUTH_SECRET: 'e2e-test-secret-key-for-better-auth-32chars!',
104
- ENABLE_OIDC: '0',
105
104
  KEY_VAULTS_SECRET: 'LA7n9k3JdEcbSgml2sxfw+4TV1AzaaFU5+R176aQz4s=',
106
105
  // Disable email verification for e2e
107
106
  NEXT_PUBLIC_AUTH_EMAIL_VERIFICATION: '0',
package/next.config.ts CHANGED
@@ -1,5 +1,18 @@
1
1
  import { defineConfig } from './src/libs/next/config/define-config';
2
2
 
3
- const nextConfig = defineConfig({});
3
+ const nextConfig = defineConfig({
4
+ experimental: {
5
+ webpackBuildWorker: true,
6
+ webpackMemoryOptimizations: true,
7
+ },
8
+ webpack: (webpackConfig, context) => {
9
+ const { dev } = context;
10
+ if (!dev) {
11
+ webpackConfig.cache = false;
12
+ }
13
+
14
+ return webpackConfig;
15
+ },
16
+ });
4
17
 
5
18
  export default nextConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.185",
3
+ "version": "2.0.0-next.187",
4
4
  "description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -40,6 +40,7 @@
40
40
  "build:analyze": "NODE_OPTIONS=--max-old-space-size=8192 ANALYZE=true next build --webpack",
41
41
  "build:docker": "npm run prebuild && NODE_OPTIONS=--max-old-space-size=8192 DOCKER=true next build --webpack && npm run build-sitemap",
42
42
  "build:electron": "cross-env NODE_OPTIONS=--max-old-space-size=8192 NEXT_PUBLIC_IS_DESKTOP_APP=1 tsx scripts/electronWorkflow/buildNextApp.mts",
43
+ "build:vercel": "npm run prebuild && cross-env NODE_OPTIONS=--max-old-space-size=6144 next build --webpack",
43
44
  "clean:node_modules": "bash -lc 'set -e; echo \"Removing all node_modules...\"; rm -rf node_modules; pnpm -r exec rm -rf node_modules; rm -rf apps/desktop/node_modules; echo \"All node_modules removed.\"'",
44
45
  "db:generate": "drizzle-kit generate && npm run db:generate-client && npm run workflow:dbml",
45
46
  "db:generate-client": "tsx ./scripts/migrateClientDB/compile-migrations.ts",