compiler

Log | Files | Refs | README

commit 6b2c2ea59f69f8f757fe23f4ef5ad7b44f6bb959
parent 677ea3d03e0ba49a83b35a516ed6ffc87e5363cb
Author: AMIT DUTTA <amitdutta4255@gmail.com>
Date:   Thu, 19 Feb 2026 14:16:23 +0530

Refactor backend.py for improved structure and security
Diffstat:
Mbackend.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend.py b/backend.py @@ -262,8 +262,7 @@ Respond in this exact JSON format: }}""" try: - # ✅ FIXED: Use correct stable model endpoint - api_url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-preview-09-2025:generateContent?key={GEMINI_API_KEY}" + api_url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key={GEMINI_API_KEY}" print(f"[AI] Calling Gemini API...") @@ -389,3 +388,4 @@ async def main(): if __name__ == "__main__": asyncio.run(main()) +
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror