@lobehub/chat 1.102.2 → 1.102.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.102.3](https://github.com/lobehub/lobe-chat/compare/v1.102.2...v1.102.3)
|
6
|
+
|
7
|
+
<sup>Released on **2025-07-22**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Remove debug logging from ModelRuntime and async caller.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Remove debug logging from ModelRuntime and async caller, closes [#8525](https://github.com/lobehub/lobe-chat/issues/8525) ([dd1a635](https://github.com/lobehub/lobe-chat/commit/dd1a635))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.102.2](https://github.com/lobehub/lobe-chat/compare/v1.102.1...v1.102.2)
|
6
31
|
|
7
32
|
<sup>Released on **2025-07-22**</sup>
|
package/Dockerfile.pglite
CHANGED
@@ -55,6 +55,8 @@ ENV NEXT_PUBLIC_SENTRY_DSN="${NEXT_PUBLIC_SENTRY_DSN}" \
|
|
55
55
|
SENTRY_ORG="" \
|
56
56
|
SENTRY_PROJECT=""
|
57
57
|
|
58
|
+
ENV APP_URL="http://app.com"
|
59
|
+
|
58
60
|
# Posthog
|
59
61
|
ENV NEXT_PUBLIC_ANALYTICS_POSTHOG="${NEXT_PUBLIC_ANALYTICS_POSTHOG}" \
|
60
62
|
NEXT_PUBLIC_POSTHOG_HOST="${NEXT_PUBLIC_POSTHOG_HOST}" \
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.102.
|
3
|
+
"version": "1.102.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",
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { log } from 'debug';
|
2
1
|
import { ClientOptions } from 'openai';
|
3
2
|
|
4
3
|
import type { TracePayload } from '@/const/trace';
|
@@ -112,13 +111,6 @@ class ModelRuntime {
|
|
112
111
|
LobeCloudflareParams & { apiKey?: string; apiVersion?: string; baseURL?: string }
|
113
112
|
>,
|
114
113
|
) {
|
115
|
-
// @ts-expect-error ignore
|
116
|
-
if (providerRuntimeMap[provider]) {
|
117
|
-
log('Provider runtime map found for provider: %s', provider);
|
118
|
-
} else {
|
119
|
-
log('Provider runtime map not found for provider: %s', provider);
|
120
|
-
}
|
121
|
-
|
122
114
|
// @ts-expect-error runtime map not include vertex so it will be undefined
|
123
115
|
const providerAI = providerRuntimeMap[provider] ?? LobeOpenAI;
|
124
116
|
const runtimeModel: LobeRuntimeAI = new providerAI(params);
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { createTRPCClient, httpLink } from '@trpc/client';
|
2
|
-
import debug from 'debug';
|
3
2
|
import superjson from 'superjson';
|
4
3
|
import urlJoin from 'url-join';
|
5
4
|
|
@@ -14,11 +13,7 @@ import { KeyVaultsGateKeeper } from '@/server/modules/KeyVaultsEncrypt';
|
|
14
13
|
import { asyncRouter } from './index';
|
15
14
|
import type { AsyncRouter } from './index';
|
16
15
|
|
17
|
-
const log = debug('lobe-image:async-caller');
|
18
|
-
|
19
16
|
export const createAsyncServerClient = async (userId: string, payload: JWTPayload) => {
|
20
|
-
log('Creating async server client for userId: %s', userId);
|
21
|
-
|
22
17
|
const gateKeeper = await KeyVaultsGateKeeper.initWithEnvKey();
|
23
18
|
const headers: Record<string, string> = {
|
24
19
|
Authorization: `Bearer ${serverDBEnv.KEY_VAULTS_SECRET}`,
|
@@ -39,7 +34,6 @@ export const createAsyncServerClient = async (userId: string, payload: JWTPayloa
|
|
39
34
|
],
|
40
35
|
});
|
41
36
|
|
42
|
-
log('Async server client created successfully for userId: %s', userId);
|
43
37
|
return client;
|
44
38
|
};
|
45
39
|
|