CoderHassan commited on
Commit
c75cf19
·
verified ·
1 Parent(s): 4dd6100

Update agents/intent.py

Browse files
Files changed (1) hide show
  1. agents/intent.py +1 -1
agents/intent.py CHANGED
@@ -78,7 +78,7 @@ def run(message: str) -> dict:
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")
82
 
83
  prompt = f"""You are a service request parser for Pakistan's informal economy.
84
  Extract structured info from the user message. Respond ONLY with valid JSON, no markdown, no explanation.
 
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")
82
 
83
  prompt = f"""You are a service request parser for Pakistan's informal economy.
84
  Extract structured info from the user message. Respond ONLY with valid JSON, no markdown, no explanation.