@lobehub/chat 1.46.2 → 1.46.3

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.46.3](https://github.com/lobehub/lobe-chat/compare/v1.46.2...v1.46.3)
6
+
7
+ <sup>Released on **2025-01-15**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix azure in new ai provider.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix azure in new ai provider, closes [#5448](https://github.com/lobehub/lobe-chat/issues/5448) ([b5042c3](https://github.com/lobehub/lobe-chat/commit/b5042c3))
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.46.2](https://github.com/lobehub/lobe-chat/compare/v1.46.1...v1.46.2)
6
31
 
7
32
  <sup>Released on **2025-01-15**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix azure in new ai provider."
6
+ ]
7
+ },
8
+ "date": "2025-01-15",
9
+ "version": "1.46.3"
10
+ },
2
11
  {
3
12
  "children": {},
4
13
  "date": "2025-01-15",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.46.2",
3
+ "version": "1.46.3",
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",
@@ -182,7 +182,7 @@
182
182
  "nextjs-toploader": "^3.7.15",
183
183
  "numeral": "^2.0.6",
184
184
  "nuqs": "^1.20.0",
185
- "officeparser": "^4.2.0",
185
+ "officeparser": "^5.1.1",
186
186
  "ollama": "^0.5.11",
187
187
  "openai": "^4.77.3",
188
188
  "openapi-fetch": "^0.13.4",
@@ -55,7 +55,7 @@ export const getProviderAuthPayload = (
55
55
  return {
56
56
  apiKey: keyVaults.apiKey,
57
57
  azureApiVersion: keyVaults.apiVersion,
58
- baseURL: keyVaults.endpoint,
58
+ baseURL: keyVaults.baseURL || keyVaults.endpoint,
59
59
  };
60
60
  }
61
61
 
@@ -6,6 +6,10 @@ export interface OpenAICompatibleKeyVault {
6
6
  export interface AzureOpenAIKeyVault {
7
7
  apiKey?: string;
8
8
  apiVersion?: string;
9
+ baseURL?: string;
10
+ /**
11
+ * @deprecated
12
+ */
9
13
  endpoint?: string;
10
14
  }
11
15