CoderHassan commited on
Commit
d29a4b6
Β·
verified Β·
1 Parent(s): 80ad5b0

Update agents/intent.py

Browse files
Files changed (1) hide show
  1. agents/intent.py +2 -2
agents/intent.py CHANGED
@@ -72,10 +72,10 @@ def rule_based_parse(message: str) -> dict:
72
 
73
 
74
  def run(message: str) -> dict:
75
- api_key = os.environ.get("GEMINI_API_KEY", "YOUR_GEM_KEY").strip()
76
 
77
  # ── Try Gemini first ─────────────────────────────────────────
78
- if api_key and api_key != "YOUR_GEM_KEY":
79
  try:
80
  genai.configure(api_key=api_key)
81
  model = genai.GenerativeModel("Gemini 2.5 Flash")
 
72
 
73
 
74
  def run(message: str) -> dict:
75
+ api_key = os.environ.get("GEMINI_API_KEY", "AIzaSyDnU1qEaurbbbyYm3JNYVIgT2IJM92t3Is").strip()
76
 
77
  # ── Try Gemini first ─────────────────────────────────────────
78
+ if api_key and api_key != "YOUR_GEMINI_API_KEY_HERE":
79
  try:
80
  genai.configure(api_key=api_key)
81
  model = genai.GenerativeModel("Gemini 2.5 Flash")