- Added `promptType` and `voiceText` properties to `DebugTextPromptDialogState`. - Updated state management for text prompt dialogs to handle voice prompts. - Modified dialog activation logic to play voice prompts when applicable. - Adjusted UI to reflect the type of prompt being displayed (text or voice). - Ensured proper handling of prompt closure messages based on prompt type.
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1Cg9WH_2bOQEHVVj-lSN5l2oUtfjZK8hF
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Optional: set
VITE_API_BASE_URL(for backend API, defaulthttp://127.0.0.1:8100/api) - Run the app:
npm run dev