Skip to content

Commit

Permalink
fix: don't auto start mic when conversation end / character switched
Browse files Browse the repository at this point in the history
  • Loading branch information
ylxmf2005 committed Jan 25, 2025
1 parent 4bcfa20 commit d13df6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-llm-vtuber-electron",
"version": "1.0.0",
"version": "1.0.1",
"description": "An Electron application with React and TypeScript",
"main": "./out/main/index.js",
"author": "example.com",
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/src/services/websocket-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ function WebSocketHandler({ children }: { children: React.ReactNode }) {
}
return currentState;
});
startMic();
resolve();
}));
break;
Expand Down Expand Up @@ -117,7 +116,6 @@ function WebSocketHandler({ children }: { children: React.ReactNode }) {
case 'config-switched':
setAiState('idle');
setSubtitleText('New Character Loaded');
startMic();

toaster.create({
title: 'Character switched',
Expand Down

0 comments on commit d13df6c

Please sign in to comment.