Skip to content

Commit af29c8f

Browse files
author
linzhengyu
committed
Merge remote-tracking branch 'origin/main' into feature/text-input
2 parents 63dc277 + 1d2302f commit af29c8f

File tree

13 files changed

+36
-8
lines changed

13 files changed

+36
-8
lines changed

app/components/ui/BabylonViewer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ const BabylonViewer = forwardRef<BabylonViewerRef, BabylonViewerProps>(
315315
1: 'KQ-default_420.glb',
316316
2: 'HT-default_214.glb',
317317
3: 'FNN-default_296.glb',
318+
4: 'KL-default_214.glb',
319+
5: 'NXD-default_321.glb',
318320
}
319321

320322
const characterFile = character_index_file_name_mapping[characterIndex]

app/constants/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ export const CHARACTER_MODELS = [
7777
name: 'FNN-default',
7878
preview: '/img/preview/character/FNN-default.png',
7979
},
80+
{
81+
id: 'character5',
82+
name: 'KL-default',
83+
preview: '/img/preview/character/KL-default.png',
84+
},
85+
{
86+
id: 'character6',
87+
name: 'NXD-default',
88+
preview: '/img/preview/character/NXD-default.png',
89+
},
8090
]
8191
// TTS-specific voice options
8292
// NOTE: This is now used as fallback only. Voice options are fetched dynamically from API in useTTSVoices hook

app/i18n/locales/en/client.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
"noRunningStreamingClientFound": "No running streaming client found",
4343
"noRunningAssetManagerFound": "No running asset manager found",
4444
"algorithmTimedOutDuringStreaming": "Algorithm timed out during streaming",
45+
"algorithmTimedOutDuringHealthCheck": "Algorithm timed out during health check",
46+
"algorithmTimedOutDuringHealthCheckStreamReady": "Algorithm timed out during health check waiting for stream ready",
47+
"algorithmTimedOutDuringHealthCheckStreamEnd": "Algorithm timed out during health check waiting for stream end",
4548
"incorrectStreamNumber": "Algorithm streaming returned incorrect number of streams, expected 3 streams, actually returned",
4649
"streamingBufferEvaluationFailed": "Streaming buffer evaluation failed",
4750
"configurationUpdateFailed": "3DACConfiguration update failed",

app/i18n/locales/en/fronted.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"delete": "Delete",
99
"edit": "Edit",
1010
"editKey": "Edit KEY",
11-
"close": "Close"
11+
"close": "Close",
12+
"loading": "Loading"
1213
},
1314
"loading": {
1415
"title": "DIGITAL LIFE PROJECT",
@@ -166,7 +167,9 @@
166167
"Ani-default": "Ani-default",
167168
"KQ-default": "KQ-default",
168169
"HT-default": "HT-default",
169-
"FNN-default": "FNN-default"
170+
"FNN-default": "FNN-default",
171+
"KL-default": "KL-default",
172+
"NXD-default": "NXD-default"
170173
},
171174
"scenes": {
172175
"Seabed": "Seabed",

app/i18n/locales/zh/client.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
"noRunningStreamingClientFound": "没有正在运行的流式客户端",
4343
"noRunningAssetManagerFound": "没有正在运行的资产管理器",
4444
"algorithmTimedOutDuringStreaming": "算法在流式传输期间超时",
45+
"algorithmTimedOutDuringHealthCheck": "算法在健康检查期间超时",
46+
"algorithmTimedOutDuringHealthCheckStreamReady": "算法在健康检查期间等待流就绪超时",
47+
"algorithmTimedOutDuringHealthCheckStreamEnd": "算法在健康检查期间等待流结束超时",
4548
"incorrectStreamNumber": "算法流式传输返回的流数不正确,期望3个流,实际返回数量",
4649
"streamingBufferEvaluationFailed": "流式传输缓冲区评估失败",
4750
"configurationUpdateFailed": "3DAC配置同步失败",

app/i18n/locales/zh/fronted.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"delete": "删除",
99
"edit": "编辑",
1010
"editKey": "编辑密钥",
11-
"close": "关闭"
11+
"close": "关闭",
12+
"loading": "加载中"
1213
},
1314
"loading": {
1415
"title": "数字生命计划",
@@ -167,7 +168,9 @@
167168
"Ani-default": "Ani-默认",
168169
"KQ-default": "刻晴-默认",
169170
"HT-default": "胡桃-默认",
170-
"FNN-default": "芙宁娜-默认"
171+
"FNN-default": "芙宁娜-默认",
172+
"KL-default": "可莉-默认",
173+
"NXD-default": "纳西妲-默认"
171174
},
172175
"scenes": {
173176
"Seabed": "海底世界",

app/library/babylonjs/runtime/fsm/machine.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,11 @@ export class StateMachine {
790790
} else {
791791
if (currentTime - requestTime > orchestratorTimeout * 1000) {
792792
Logger.error(
793-
i18n.t('fsm.algorithmTimedOutDuringStreaming', { ns: 'client' }),
793+
i18n.t('fsm.algorithmTimedOutDuringHealthCheckStreamReady', {
794+
ns: 'client',
795+
}),
794796
)
795-
await this._handleAlgorithmGenerationFailure()
797+
await this._switchState(States.EXIT)
796798
return
797799
}
798800
await new Promise(resolve =>
@@ -809,9 +811,11 @@ export class StateMachine {
809811
} else {
810812
if (currentTime - readyTime > orchestratorTimeout * 1000) {
811813
Logger.error(
812-
i18n.t('fsm.algorithmTimedOutDuringStreaming', { ns: 'client' }),
814+
i18n.t('fsm.algorithmTimedOutDuringHealthCheckStreamEnd', {
815+
ns: 'client',
816+
}),
813817
)
814-
await this._handleAlgorithmGenerationFailure()
818+
await this._switchState(States.EXIT)
815819
return
816820
}
817821
await new Promise(resolve =>
13.2 MB
Binary file not shown.
15.6 MB
Binary file not shown.

public/img/model/KL-default.png

851 KB
Loading

0 commit comments

Comments
 (0)