@lobehub/chat 0.86.0 → 0.86.1

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 0.86.1](https://github.com/lobehub/lobe-chat/compare/v0.86.0...v0.86.1)
6
+
7
+ <sup>Released on **2023-10-11**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix docker reverse proxy don't work.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix docker reverse proxy don't work, closes [#294](https://github.com/lobehub/lobe-chat/issues/294) ([a51ba1d](https://github.com/lobehub/lobe-chat/commit/a51ba1d))
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 0.86.0](https://github.com/lobehub/lobe-chat/compare/v0.85.3...v0.86.0)
6
31
 
7
32
  <sup>Released on **2023-10-10**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.86.0",
3
+ "version": "0.86.1",
4
4
  "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
5
5
  "keywords": [
6
6
  "chatbot",
@@ -1,11 +1,11 @@
1
- export const OPENAI_END_POINT = 'X-OPENAI-END_POINT';
2
- export const OPENAI_API_KEY_HEADER_KEY = 'X-OPENAI-API-KEY';
1
+ export const OPENAI_END_POINT = 'X-openai-end-point';
2
+ export const OPENAI_API_KEY_HEADER_KEY = 'X-openai-api-key';
3
3
 
4
- export const USE_AZURE_OPENAI = 'X-USE_AZURE_OPENAI';
4
+ export const USE_AZURE_OPENAI = 'X-use-azure-openai';
5
5
 
6
- export const AZURE_OPENAI_API_VERSION = 'X-AZURE_OPENAI_API_VERSION';
6
+ export const AZURE_OPENAI_API_VERSION = 'X-azure-openai-api-version';
7
7
 
8
- export const LOBE_CHAT_ACCESS_CODE = 'X-LOBE_CHAT_ACCESS_CODE';
8
+ export const LOBE_CHAT_ACCESS_CODE = 'X-lobe-chat-access-code';
9
9
 
10
10
  export const getOpenAIAuthFromRequest = (req: Request) => {
11
11
  const apiKey = req.headers.get(OPENAI_API_KEY_HEADER_KEY);