Add files via upload
This commit is contained in:
1 parent
b4d6ae9bc7
commit
363a3bdfbb
22 files changed
+1807
-365
No files matched your search
@@ -613,7 +613,7 @@ Rules:
|
||||
- Return ONLY the JSON, no explanation, no markdown."""
|
||||
|
||||
try:
|
||||
resp = _client.models.generate_content(model="gemini-2.5-flash-lite", contents=prompt)
|
||||
resp = _client.models.generate_content(model="gemini-flash-lite-latest", contents=prompt)
|
||||
text = re.sub(r"```(?:json)?", "", resp.text).strip().rstrip("`").strip()
|
||||
return json.loads(text)
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user