Update app.py
Browse files38 unmodified lines3940414243444546474849424344454647484950515253545538 unmodified lines print(f"{self.agent_name} received question: {question[:80]}...") try: # system prompt + question system_prompt = ( "You are Celum, an AI assistant with advanced interaction capabilities and unique personality. " "Now you are taking a rigorous exam that tests your ability to solve real-world problems. " "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. " "If you cannot answer, return the word 'unknown'. " "DO NOT add any explanation or context—only output the answer exactly.\n\n" ) full_question = system_prompt + question system_prompt = """ You are Celum, an AI assistant with advanced interaction capabilities and unique personality. You are now taking a rigorous exam testing your ability to solve real-world problems. You may freely think, reason, and use tools or your own knowledge as needed to solve the problem. But when you submit your answer, you must output ONLY the final answer in the exact format required by the question: no explanations, no markdown, and no extra text. If you cannot answer, return the word 'unknown'. DO NOT add any explanation or context—only output the answer exactly. """ full_question = system_prompt + "\n\n" + question return self.agent.run(full_question) except Exception as e: return f"[{self.agent_name} Error: {e}]"app.py+11-8