Compare commits
10 Commits
b60e513317
...
057a226610
| Author | SHA1 | Date | |
|---|---|---|---|
| 057a226610 | |||
| 9dc9025d10 | |||
| 92e47718bc | |||
| 6032608e49 | |||
| 668da26e23 | |||
| 44f4f3ce1a | |||
| 8ff3c519ac | |||
| ffc9b4a320 | |||
| e89585e453 | |||
| e11934cf70 |
@@ -29,8 +29,8 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
# 阿里云镜像,避免从 Docker Hub 拉取超时
|
||||
image: registry.cn-hangzhou.aliyuncs.com/library/postgres:15-alpine
|
||||
# 轩辕镜像加速,避免 Docker Hub 拉取超时
|
||||
image: docker.m.daocloud.io/library/postgres:15-alpine
|
||||
container_name: camtalk-postgres
|
||||
environment:
|
||||
POSTGRES_USER: camtalk
|
||||
|
||||
@@ -17,7 +17,7 @@ interface ChatPanelProps {
|
||||
currentScenario?: string;
|
||||
isProcessing?: boolean;
|
||||
isVADReady?: boolean;
|
||||
vadError?: string;
|
||||
vadError?: string | null;
|
||||
isMicOn?: boolean;
|
||||
isSpeaking?: boolean;
|
||||
onSendText?: (text: string) => void;
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
// 来源:docs/03-接口文档.md §五 错误码
|
||||
// ============================================================
|
||||
|
||||
// ErrorCode type reserved for future use
|
||||
|
||||
/** 将错误码转为用户友好文案(需要传入翻译函数) */
|
||||
export function getErrorMessage(code: string, translate: (key: string) => string): string {
|
||||
const key = `error.${code}`;
|
||||
|
||||
Reference in New Issue
Block a user