@lobehub/chat 1.45.14 → 1.45.15
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.45.15](https://github.com/lobehub/lobe-chat/compare/v1.45.14...v1.45.15)
|
6
|
+
|
7
|
+
<sup>Released on **2025-01-14**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix pull models error 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 pull models error in new ai provider, closes [#5441](https://github.com/lobehub/lobe-chat/issues/5441) ([1726d85](https://github.com/lobehub/lobe-chat/commit/1726d85))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.45.14](https://github.com/lobehub/lobe-chat/compare/v1.45.13...v1.45.14)
|
6
31
|
|
7
32
|
<sup>Released on **2025-01-14**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.45.
|
3
|
+
"version": "1.45.15",
|
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",
|
@@ -281,6 +281,7 @@ export const LobeOpenAICompatibleFactory = <T extends Record<string, any> = any>
|
|
281
281
|
|
282
282
|
const toReleasedAt = () => {
|
283
283
|
if (!item.created) return;
|
284
|
+
dayjs.extend(utc);
|
284
285
|
|
285
286
|
// guarantee item.created in Date String format
|
286
287
|
if (
|
@@ -299,8 +300,6 @@ export const LobeOpenAICompatibleFactory = <T extends Record<string, any> = any>
|
|
299
300
|
const knownModel = LOBE_DEFAULT_MODEL_LIST.find((model) => model.id === item.id);
|
300
301
|
|
301
302
|
if (knownModel) {
|
302
|
-
dayjs.extend(utc);
|
303
|
-
|
304
303
|
const releasedAt = knownModel.releasedAt ?? toReleasedAt();
|
305
304
|
|
306
305
|
return { ...knownModel, releasedAt };
|