compiler

Log | Files | Refs | README

commit 71b04eb923b5654d2c8991e2ab90e4ae8becae93
parent fd8cfc2fa724125742f5e5f2a93e40b4a34d92b1
Author: AMIT DUTTA <amitdutta4255@gmail.com>
Date:   Tue, 13 Jan 2026 21:32:50 +0530

Refactor backend.py for security and functionality
Diffstat:
Mbackend.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/backend.py b/backend.py @@ -253,7 +253,7 @@ Respond in this exact JSON format: try: # ✅ FIXED: Use correct stable model endpoint - api_url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key={GEMINI_API_KEY}" + api_url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-preview-09-2025:generateContent?key={GEMINI_API_KEY}" print(f"[AI] Calling Gemini API...") @@ -368,3 +368,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