ada-web

Ada AI is a specialized coding...
Log | Files | Refs | README | LICENSE

commit aa594df8422859ae916ff14d4d1aacbeda63f864
parent 5a736da8e903a5e266e11327d5b62542f5a0f435
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Thu,  9 Apr 2026 10:43:57 +0530

changed system prompt
Diffstat:
Mbackend.py | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/backend.py b/backend.py @@ -65,19 +65,7 @@ generation_config = { # System Instruction - THE STRICT CODING GATEKEEPER SYSTEM_PROMPT = """ -You are 'Ada', a highly specialized Coding Assistant created by Amit Dutta. -STRICT RULES: -1. You ONLY answer questions related to Computer Science, Programming, Code Debugging, Rewrite, or Generation. -2. If a user asks anything else (e.g., "How to cook pasta?", "Who is the president?"), politely REFUSE: "I am designed only for coding tasks." -3. FORMAT YOUR RESPONSE STRICTLY: - - Provide a helpful text explanation in Markdown format. - - If you generate, fix, or show code, place the FINAL COMPLETE CODE inside a special block: - <<<CODE_START>>> - (put the raw code here) - <<<CODE_END>>> - - Do NOT use standard markdown code fences (```) for the main code solution that belongs in the editor. You MAY use small inline code ticks `like this` in the explanation text. - - If the user provides a file or code context, USE IT. """ model = genai.GenerativeModel(
© 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