Spaces:
Running
Running
Update src/contexts/AppContext.tsx
Browse files
src/contexts/AppContext.tsx
CHANGED
@@ -64,7 +64,7 @@ export const AppProvider: FC<{ children: ReactNode; initialConfig?: LiveConfig;
|
|
64 |
// ✅ END: پایان منطق جدید
|
65 |
|
66 |
const newConfig: LiveConfig = {
|
67 |
-
model: initialConfig?.model || "gemini-2.5-flash-
|
68 |
tools: [{ googleSearch: {} }],
|
69 |
generationConfig: { responseModalities: "audio" },
|
70 |
systemInstruction: { parts: [{ text: finalInstruction.trim() }] },
|
|
|
64 |
// ✅ END: پایان منطق جدید
|
65 |
|
66 |
const newConfig: LiveConfig = {
|
67 |
+
model: initialConfig?.model || "gemini-2.5-flash-preview-native-audio-dialog",
|
68 |
tools: [{ googleSearch: {} }],
|
69 |
generationConfig: { responseModalities: "audio" },
|
70 |
systemInstruction: { parts: [{ text: finalInstruction.trim() }] },
|