Feature:Add voice dialogue functionality to the agent application (#11668)

### What problem does this PR solve?

Feature:Add voice dialogue functionality to the agent application

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
chanx
2025-12-02 19:39:43 +08:00
committed by GitHub
parent 962bd5f5df
commit 1388c4420d
16 changed files with 677 additions and 60 deletions

View File

@ -51,6 +51,7 @@ export interface IAttachment {
}
export interface IMessageData {
content: string;
audio_binary: string;
outputs: any;
start_to_think?: boolean;
end_to_think?: boolean;

View File

@ -72,7 +72,7 @@ export const useFetchTenantInfo = (
): ResponseGetType<ITenantInfo> => {
const { t } = useTranslation();
const { data, isFetching: loading } = useQuery({
queryKey: [UserSettingApiAction.TenantInfo],
queryKey: [UserSettingApiAction.TenantInfo, showEmptyModelWarn],
initialData: {},
gcTime: 0,
queryFn: async () => {