Update app.py
Browse files38 unmodified lines394041424344454647484950424344454647484950515238 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. 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. """ 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." "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:app.py+8-9