You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/errors.txt

27 lines
5.6 KiB

message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
api_version=None data='{"messages": [{"role": "user", "content": "Generate a 10,000 word blog on health and wellness."}], "model": "gpt-3.5-turbo", "temperature": 0.5}' message='Post details'
Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
Starting new HTTPS connection (1): api.openai.com:443
https://api.openai.com:443 "POST /v1/chat/completions HTTP/1.1" 200 None
message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=13345 request_id=ad9fa4aaf27128538fdb603e44576e17 response_code=200
message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
api_version=None data='{"messages": [{"role": "user", "content": "Title: Achieving Optimal Health and Wellness: A Comprehensive Guide\\n\\nIntroduction:\\n\\nIn today\'s fast-paced world, maintaining good health and wellness has become a paramount concern for many individuals. The pursuit of a healthy lifestyle encompasses various aspects of our lives, including physical, mental, and emotional well-being. This blog aims to provide a comprehensive guide to achieving optimal health and wellness, offering valuable insights, practical tips, and evidence-based information to support your journey towards a healthier and happier life.\\n\\nTable of Contents:\\n\\n1. Understanding Health and Wellness\\n a. Definitions and distinctions\\n b. The importance of a holistic approach\\n\\n2. Physical Health\\n a. The significance of regular exercise\\n b. Balanced nutrition and healthy eating habits\\n c. Importance of adequate sleep and rest\\n d. Maintaining a healthy weight\\n e. Preventive measures and screenings\\n\\n3. Mental Health\\n a. Recognizing and managing stress\\n b. Building resilience and coping mechanisms\\n c. Strategies for improving focus and concentration\\n d. Promoting positive self-esteem and body image\\n e. Seeking professional help when needed\\n\\n4. Emotional Well-being\\n a. Nurturing healthy relationships\\n b. Techniques for managing emotions effectively\\n c. Practicing gratitude and mindfulness\\n d. Engaging in activities that bring joy and fulfillment\\n e. Cultivating emotional intelligence\\n\\n5. Spiritual Wellness\\n a. Exploring different spiritual practices\\n b. Finding meaning and purpose in life\\n c. Meditation and mindfulness techniques\\n d. Connecting with nature and the universe\\n e. Embracing personal beliefs and values\\n\\n6. Social Wellness\\n a. The importance of social connections\\n b. Building a support network\\n c. Effective communication skills\\n d. Active involvement in the community\\n e. Balancing social interactions and alone time\\n\\n7. Environmental Wellness\\n a. Promoting a clean and sustainable environment\\n b. Reducing exposure to toxins and pollutants\\n c. Creating a calming and organized living space\\n d. Incorporating nature into everyday life\\n e. Adopting eco-friendly practices\\n\\n8. Occupational Wellness\\n a. Finding fulfillment in your career\\n b. Achieving work-life balance\\n c. Setting realistic goals and managing time effectively\\n d. Developing skills and continuous learning\\n e. Embracing creativity and innovation\\n\\n9. Financial Wellness\\n a. Creating a budget and managing finances\\n b. Saving and investing for the future\\n c. Reducing debt and financial stress\\n d. Seeking professional advice for financial planning\\n e. Balancing material and non-material aspirations\\n\\n10. Integrating Health and Wellness into Daily Life\\n a. Setting goals and creating a personalized plan\\n b. Overcoming obstacles and maintaining motivation\\n c. Building healthy habits and routines\\n d. Tracking progress and celebrating achievements\\n e. Embracing a lifelong commitment to health and wellness\\n\\nConclusion:\\n\\nAchieving optimal health and wellness is a lifelong journey that requires dedication, self-awareness, and continuous effort. By adopting a holistic approach and addressing various dimensions of well-being, we can enhance our quality of life and experience a profound sense of fulfillment. Remember, small changes can make a big difference, so start implementing the tips and strategies shared in this blog to embark on your path towards a healthier, happier you."}], "model": "gpt-3.5-turbo", "temperature": 0.5}' message='Post details'
https://api.openai.com:443 "POST /v1/chat/completions HTTP/1.1" 200 None
message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=1528 request_id=f0c0b4c521f98a3031aeea3e6b099810 response_code=200
Error in sys.excepthook:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/humbug/report.py", line 505, in _hook
self.error_report(error=exception_instance, tags=tags, publish=publish)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/humbug/report.py", line 247, in error_report
traceback.format_exception(
TypeError: format_exception() got an unexpected keyword argument 'etype'
Original exception was:
Traceback (most recent call last):
File "/Users/defalt/Desktop/Athena/research/swarms/flow.py", line 20, in <module>
out = flow.run("Generate a 10,000 word blog on health and wellness.")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/defalt/Desktop/Athena/research/swarms/swarms/structs/flow.py", line 185, in run
time.sleep(self.loop_interval)
KeyboardInterrupt