[Update] 文字起こしされたメッセージをログに表示(マイクのみ + 翻訳未対応)

This commit is contained in:
Sakamoto Shiina
2024-08-28 00:40:06 +09:00
parent 1042c5e2b9
commit 4ef575f2a9
2 changed files with 23 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
import { useMainFunction } from "./useMainFunction";
import { useConfig } from "./useConfig";
import { useMessage } from "./useMessage";
export const useReceiveRoutes = () => {
const {
@@ -8,6 +9,8 @@ export const useReceiveRoutes = () => {
updateTranscriptionReceiveStatus,
} = useMainFunction();
const { addMessageLogsStatus } = useMessage();
const {
updateSoftwareVersion,
} = useConfig();
@@ -21,6 +24,8 @@ export const useReceiveRoutes = () => {
"/controller/callback_disable_transcription_receive": updateTranscriptionReceiveStatus,
"/config/version": updateSoftwareVersion,
"/action/transcription_send_mic_message": addMessageLogsStatus
};
const receiveRoutes = (parsed_data) => {