Spaces:
Running
Running
Update src/contexts/AppContext.tsx
Browse files
src/contexts/AppContext.tsx
CHANGED
|
@@ -93,7 +93,7 @@ export const AppProvider: FC<{ children: ReactNode; initialConfig?: LiveConfig;
|
|
| 93 |
}
|
| 94 |
const finalInstruction = instructionParts.join('\n\n');
|
| 95 |
const newConfig: LiveConfig = {
|
| 96 |
-
model: "models/gemini-
|
| 97 |
tools: [{ googleSearch: {} }],
|
| 98 |
generationConfig: { responseModalities: "audio", speechConfig: { voiceConfig: { prebuiltVoiceConfig: { voiceName: selectedVoice } } } },
|
| 99 |
systemInstruction: { parts: [{ text: finalInstruction.trim() }] },
|
|
|
|
| 93 |
}
|
| 94 |
const finalInstruction = instructionParts.join('\n\n');
|
| 95 |
const newConfig: LiveConfig = {
|
| 96 |
+
model: "models/gemini-2.5-flash-native-audio-preview-09-2025",
|
| 97 |
tools: [{ googleSearch: {} }],
|
| 98 |
generationConfig: { responseModalities: "audio", speechConfig: { voiceConfig: { prebuiltVoiceConfig: { voiceName: selectedVoice } } } },
|
| 99 |
systemInstruction: { parts: [{ text: finalInstruction.trim() }] },
|