@lobehub/chat 1.74.5 → 1.74.7

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,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.74.7](https://github.com/lobehub/lobe-chat/compare/v1.74.6...v1.74.7)
6
+
7
+ <sup>Released on **2025-03-24**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Remove Tooltip component in Topic in mobile mode.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Remove Tooltip component in Topic in mobile mode, closes [#7121](https://github.com/lobehub/lobe-chat/issues/7121) ([375f924](https://github.com/lobehub/lobe-chat/commit/375f924))
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 1.74.6](https://github.com/lobehub/lobe-chat/compare/v1.74.5...v1.74.6)
31
+
32
+ <sup>Released on **2025-03-24**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Set max_completion_tokens to undefined for Azure OpenAI.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Set max_completion_tokens to undefined for Azure OpenAI, closes [#7114](https://github.com/lobehub/lobe-chat/issues/7114) ([30b66b9](https://github.com/lobehub/lobe-chat/commit/30b66b9))
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 1.74.5](https://github.com/lobehub/lobe-chat/compare/v1.74.4...v1.74.5)
6
56
 
7
57
  <sup>Released on **2025-03-23**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Remove Tooltip component in Topic in mobile mode."
6
+ ]
7
+ },
8
+ "date": "2025-03-24",
9
+ "version": "1.74.7"
10
+ },
11
+ {
12
+ "children": {
13
+ "fixes": [
14
+ "Set max_completion_tokens to undefined for Azure OpenAI."
15
+ ]
16
+ },
17
+ "date": "2025-03-24",
18
+ "version": "1.74.6"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.74.5",
3
+ "version": "1.74.7",
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",
@@ -49,14 +49,12 @@ const SaveTopic = memo<{ mobile?: boolean }>(({ mobile }) => {
49
49
  </div>
50
50
  }
51
51
  >
52
- <Tooltip>
53
- <ActionIcon
54
- aria-label={desc}
55
- icon={icon}
56
- loading={isValidating}
57
- onClick={() => setConfirmOpened(true)}
58
- />
59
- </Tooltip>
52
+ <ActionIcon
53
+ aria-label={desc}
54
+ icon={icon}
55
+ loading={isValidating}
56
+ onClick={() => setConfirmOpened(true)}
57
+ />
60
58
  </Popconfirm>
61
59
  );
62
60
  } else {
@@ -52,7 +52,7 @@ export class LobeAzureOpenAI implements LobeRuntimeAI {
52
52
  messages: updatedMessages as OpenAI.ChatCompletionMessageParam[],
53
53
  model,
54
54
  ...params,
55
- max_completion_tokens: null,
55
+ max_completion_tokens: undefined,
56
56
  stream: enableStreaming,
57
57
  tool_choice: params.tools ? 'auto' : undefined,
58
58
  });