@lobehub/lobehub 2.0.0-next.235 → 2.0.0-next.236

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.
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "features": {
3
3
  "ghcr.io/devcontainer-community/devcontainer-features/bun.sh:1": {},
4
- "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
4
+ "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
5
+ "moby": false
6
+ }
5
7
  },
6
8
  "image": "mcr.microsoft.com/devcontainers/typescript-node"
7
- }
9
+ }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 2.0.0-next.236](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.235...v2.0.0-next.236)
6
+
7
+ <sup>Released on **2026-01-08**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **provider-config**: Update isFetchOnClient Switch component.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **provider-config**: Update isFetchOnClient Switch component, closes [#11215](https://github.com/lobehub/lobe-chat/issues/11215) ([5bb038b](https://github.com/lobehub/lobe-chat/commit/5bb038b))
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
+
5
30
  ## [Version 2.0.0-next.235](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.234...v2.0.0-next.235)
6
31
 
7
32
  <sup>Released on **2026-01-08**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,9 @@
1
1
  [
2
+ {
3
+ "children": {},
4
+ "date": "2026-01-08",
5
+ "version": "2.0.0-next.236"
6
+ },
2
7
  {
3
8
  "children": {
4
9
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.235",
3
+ "version": "2.0.0-next.236",
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",
@@ -292,36 +292,6 @@ const anthropicChatModels: AIChatModelCard[] = [
292
292
  },
293
293
  type: 'chat',
294
294
  },
295
- {
296
- abilities: {
297
- functionCall: true,
298
- vision: true,
299
- },
300
- contextWindowTokens: 200_000,
301
- description:
302
- 'Claude 3 Opus is Anthropic’s most powerful model for highly complex tasks, excelling in performance, intelligence, fluency, and comprehension.',
303
- displayName: 'Claude 3 Opus',
304
- id: 'claude-3-opus-20240229',
305
- maxOutput: 4096,
306
- pricing: {
307
- units: [
308
- { name: 'textInput_cacheRead', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
309
- { name: 'textInput', rate: 15, strategy: 'fixed', unit: 'millionTokens' },
310
- { name: 'textOutput', rate: 75, strategy: 'fixed', unit: 'millionTokens' },
311
- {
312
- lookup: { prices: { '1h': 30, '5m': 18.75 }, pricingParams: ['ttl'] },
313
- name: 'textInput_cacheWrite',
314
- strategy: 'lookup',
315
- unit: 'millionTokens',
316
- },
317
- ],
318
- },
319
- releasedAt: '2024-02-29',
320
- settings: {
321
- extendParams: ['disableContextCaching'],
322
- },
323
- type: 'chat',
324
- },
325
295
  ];
326
296
 
327
297
  export const allModels = [...anthropicChatModels];
@@ -10,12 +10,13 @@ const doubaoChatModels: AIChatModelCard[] = [
10
10
  vision: true,
11
11
  },
12
12
  config: {
13
- deploymentName: 'doubao-seed-1-8-251215',
13
+ deploymentName: 'doubao-seed-1-8-251228',
14
14
  },
15
15
  contextWindowTokens: 256_000,
16
16
  description:
17
17
  'Doubao-Seed-1.8 有着更强的多模态理解能力和 Agent 能力,支持文本/图片/视频输入与上下文缓存,可在复杂任务中提供更出色的表现。',
18
18
  displayName: 'Doubao Seed 1.8',
19
+ enabled: true,
19
20
  id: 'doubao-seed-1.8',
20
21
  maxOutput: 64_000,
21
22
  pricing: {
@@ -150,7 +150,6 @@ const ProviderConfig = memo<ProviderConfigProps>(
150
150
  enabled,
151
151
  isLoading,
152
152
  configUpdating,
153
- isFetchOnClient,
154
153
  enableResponseApi,
155
154
  isProviderEndpointNotEmpty,
156
155
  isProviderApiKeyNotEmpty,
@@ -160,7 +159,6 @@ const ProviderConfig = memo<ProviderConfigProps>(
160
159
  aiProviderSelectors.isProviderEnabled(id)(s),
161
160
  aiProviderSelectors.isAiProviderConfigLoading(id)(s),
162
161
  aiProviderSelectors.isProviderConfigUpdating(id)(s),
163
- aiProviderSelectors.isProviderFetchOnClient(id)(s),
164
162
  aiProviderSelectors.isProviderEnableResponseApi(id)(s),
165
163
  aiProviderSelectors.isActiveProviderEndpointNotEmpty(s),
166
164
  aiProviderSelectors.isActiveProviderApiKeyNotEmpty(s),
@@ -301,11 +299,7 @@ const ProviderConfig = memo<ProviderConfigProps>(
301
299
  (showEndpoint && isProviderEndpointNotEmpty) ||
302
300
  (showApiKey && isProviderApiKeyNotEmpty));
303
301
  const clientFetchItem = showClientFetch && {
304
- children: isLoading ? (
305
- <SkeletonSwitch />
306
- ) : (
307
- <Switch checked={isFetchOnClient} disabled={configUpdating} />
308
- ),
302
+ children: isLoading ? <SkeletonSwitch /> : <Switch loading={configUpdating} />,
309
303
  desc: t('providerModels.config.fetchOnClient.desc'),
310
304
  label: t('providerModels.config.fetchOnClient.title'),
311
305
  minWidth: undefined,