Kiki0203 commited on
Commit
5d04006
·
verified ·
1 Parent(s): 441f415

Update tutor.py

Browse files
Files changed (1) hide show
  1. tutor.py +1 -1
tutor.py CHANGED
@@ -4,7 +4,7 @@ AI Tutor chat powered by Groq. Maintains conversation history per session.
4
  """
5
  from groq import Groq
6
 
7
- GROQ_API_KEY = "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"
8
 
9
  SYSTEM_PROMPT = """You are LearnCraft Tutor — a friendly, encouraging, and highly knowledgeable AI tutor.
10
  Your role is to help students understand topics deeply, answer their questions clearly, and guide them
 
4
  """
5
  from groq import Groq
6
 
7
+ GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
8
 
9
  SYSTEM_PROMPT = """You are LearnCraft Tutor — a friendly, encouraging, and highly knowledgeable AI tutor.
10
  Your role is to help students understand topics deeply, answer their questions clearly, and guide them