feat: Introduce DashScope agent configuration, a WAV client for duplex testing, and new UI components for assistants.

This commit is contained in:
Xin Wang
2026-03-10 02:25:52 +08:00
parent 312fe0cf31
commit e4ccec6cc1
3 changed files with 165 additions and 111 deletions

View File

@@ -28,7 +28,7 @@ const normalizeToolIdList = (value: unknown): string[] => {
return result;
};
const normalizeManualOpenerToolCalls = (value: unknown): AnyRecord[] => {
const normalizeManualOpenerToolCalls = (value: unknown): any[] => {
if (!Array.isArray(value)) return [];
return value
.filter((item) => item && typeof item === 'object')
@@ -41,7 +41,7 @@ const normalizeManualOpenerToolCalls = (value: unknown): AnyRecord[] => {
toolName,
};
})
.filter(Boolean) as AnyRecord[];
.filter(Boolean) as any[];
};
const withLimit = (path: string, limit: number = DEFAULT_LIST_LIMIT): string =>