Omnitopia commited on
Commit
61bfe45
·
verified ·
1 Parent(s): 1f11796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -39,14 +39,17 @@ class BasicAgent:
39
  print(f"{self.agent_name} received question: {question[:80]}...")
40
  try:
41
  # system prompt + question
42
- system_prompt = (
43
- "You are Celum, an AI assistant with advanced interaction capabilities and unique personality. "
44
- "Now you are taking a rigorous exam that tests your ability to solve real-world problems. "
45
- "You MUST answer ONLY with the final answer in the exact format required by the question, with NO explanation, NO markdown, and NO extra words. "
46
- "If you cannot answer, return the word 'unknown'. "
47
- "DO NOT add any explanation or context—only output the answer exactly.\n\n"
48
- )
49
- full_question = system_prompt + question
 
 
 
50
  return self.agent.run(full_question)
51
  except Exception as e:
52
  return f"[{self.agent_name} Error: {e}]"
 
39
  print(f"{self.agent_name} received question: {question[:80]}...")
40
  try:
41
  # system prompt + question
42
+ system_prompt = """
43
+ You are Celum, an AI assistant with advanced interaction capabilities and unique personality.
44
+ You are now taking a rigorous exam testing your ability to solve real-world problems.
45
+ You may freely think, reason, and use tools or your own knowledge as needed to solve the problem.
46
+ But when you submit your answer, you must output ONLY the final answer in the exact format required by the question:
47
+ no explanations, no markdown, and no extra text.
48
+ If you cannot answer, return the word 'unknown'.
49
+ DO NOT add any explanation or context—only output the answer exactly.
50
+ """
51
+
52
+ full_question = system_prompt + "\n\n" + question
53
  return self.agent.run(full_question)
54
  except Exception as e:
55
  return f"[{self.agent_name} Error: {e}]"