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.
33 lines
3.3 KiB
33 lines
3.3 KiB
message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
|
|
api_version=None data='{"messages": [{"role": "user", "content": "What were the winning boston marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times."}], "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=4814 request_id=0efbc1770444395852146ea38fbb074f 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": "What were the winning boston marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times."}], "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=3094 request_id=f791336dd4b081e0b13bdf54bf00471a 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": "What were the winning boston marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times."}], "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=3317 request_id=5aa8194828ba49ae72ab024d29180b1a 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": "What were the winning boston marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times."}], "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=4528 request_id=85b6182749870200b317958cd97c7206 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/multi_agent_debate.py", line 27, in <module>
|
|
print(f"Agent {result['agent']} responded: {result['response']}")
|
|
~~~~~~^^^^^^^^^
|
|
KeyError: 'agent'
|