Shivangsinha commited on
Commit
65f1dea
·
verified ·
1 Parent(s): 25a2e38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,8 +31,9 @@ class BasicAgent:
31
 
32
  # 2. Use LiteLLM to connect to OpenRouter's free Gemini endpoint
33
  # This bypasses your personal Google limits and has a 1,000,000 token context window!
 
34
  self.model = LiteLLMModel(
35
- model_id="openrouter/google/gemini-2.0-flash-lite-preview-02-05:free", # <-- CHANGED HERE
36
  api_key=openrouter_api_key,
37
  )
38
 
 
31
 
32
  # 2. Use LiteLLM to connect to OpenRouter's free Gemini endpoint
33
  # This bypasses your personal Google limits and has a 1,000,000 token context window!
34
+ # Use the correct OpenRouter ID for the Free Gemini 2.0 Flash model
35
  self.model = LiteLLMModel(
36
+ model_id="openrouter/google/gemini-2.0-flash-exp:free", # <-- Fixed String
37
  api_key=openrouter_api_key,
38
  )
39