1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 07:11:40 +03:00

feat(server): send Node.js bridge version to telemetry

This commit is contained in:
louistiti 2023-05-01 01:26:28 +08:00
parent 8dc8c05d7d
commit 59cfded2bb
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669

View File

@ -19,6 +19,7 @@ import {
IS_PRODUCTION_ENV, IS_PRODUCTION_ENV,
LANG, LANG,
LEON_VERSION, LEON_VERSION,
NODEJS_BRIDGE_VERSION,
PYTHON_BRIDGE_VERSION, PYTHON_BRIDGE_VERSION,
STT_PROVIDER, STT_PROVIDER,
TCP_SERVER_VERSION, TCP_SERVER_VERSION,
@ -68,6 +69,7 @@ export class Telemetry {
sttProvider: STT_PROVIDER, sttProvider: STT_PROVIDER,
ttsProvider: TTS_PROVIDER, ttsProvider: TTS_PROVIDER,
coreVersion: LEON_VERSION, coreVersion: LEON_VERSION,
nodeJSBridgeVersion: NODEJS_BRIDGE_VERSION,
pythonBridgeVersion: PYTHON_BRIDGE_VERSION, pythonBridgeVersion: PYTHON_BRIDGE_VERSION,
tcpServerVersion: TCP_SERVER_VERSION, tcpServerVersion: TCP_SERVER_VERSION,
environment: { environment: {