Ezmary commited on
Commit
d2a66d9
·
verified ·
1 Parent(s): aa68cd4

Update src/contexts/AppContext.tsx

Browse files
Files changed (1) hide show
  1. src/contexts/AppContext.tsx +1 -1
src/contexts/AppContext.tsx CHANGED
@@ -53,7 +53,7 @@ export const AppProvider: FC<{ children: ReactNode; initialConfig?: LiveConfig;
53
 
54
  const newConfig: LiveConfig = {
55
  // ✅ تغییر ۱: استفاده از مدل جدید
56
- model: "models/gemini-2.5-flash-preview-native-audio-dialog",
57
  tools: [{ googleSearch: {} }],
58
  // ✅ تغییر ۲: اضافه کردن تنظیمات صدا و گوینده
59
  generationConfig: {
 
53
 
54
  const newConfig: LiveConfig = {
55
  // ✅ تغییر ۱: استفاده از مدل جدید
56
+ model: "models/gemini-live-2.5-flash-preview",
57
  tools: [{ googleSearch: {} }],
58
  // ✅ تغییر ۲: اضافه کردن تنظیمات صدا و گوینده
59
  generationConfig: {