@lobehub/chat 1.63.1 → 1.63.2

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.63.2](https://github.com/lobehub/lobe-chat/compare/v1.63.1...v1.63.2)
6
+
7
+ <sup>Released on **2025-02-24**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix model settings config.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix model settings config, closes [#6459](https://github.com/lobehub/lobe-chat/issues/6459) ([469bd10](https://github.com/lobehub/lobe-chat/commit/469bd10))
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 1.63.1](https://github.com/lobehub/lobe-chat/compare/v1.63.0...v1.63.1)
6
31
 
7
32
  <sup>Released on **2025-02-23**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix model settings config."
6
+ ]
7
+ },
8
+ "date": "2025-02-24",
9
+ "version": "1.63.2"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.63.1",
3
+ "version": "1.63.2",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot 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",
@@ -102,7 +102,6 @@ export class AiInfraRepos {
102
102
  enabledProviders,
103
103
  async (provider) => {
104
104
  const aiModels = await this.fetchBuiltinModels(provider.id);
105
-
106
105
  return (aiModels || [])
107
106
  .map<EnabledAiModel & { enabled?: boolean | null }>((item) => {
108
107
  const user = allModels.find((m) => m.id === item.id && m.providerId === provider.id);
@@ -125,6 +124,7 @@ export class AiInfraRepos {
125
124
  enabled: typeof user.enabled === 'boolean' ? user.enabled : item.enabled,
126
125
  id: item.id,
127
126
  providerId: provider.id,
127
+ settings: item.settings,
128
128
  sort: user.sort || undefined,
129
129
  type: item.type,
130
130
  };
@@ -294,6 +294,7 @@ export interface AiProviderModelListItem {
294
294
  id: string;
295
295
  pricing?: ChatModelPricing;
296
296
  releasedAt?: string;
297
+ settings?: AiModelSettings;
297
298
  source?: AiModelSourceType;
298
299
  type: AiModelType;
299
300
  }