Error stopped project. How can I resume where it left off? #724
JasonADuprat
started this conversation in
General
Replies: 3 comments 5 replies
-
Yes, that would be a very useful feature. I'm running a very long task and crossing my fingers because it's been going quite well so far and I'm afraid I could lose everything. Maybe you could put that log in the working directory and ask another agent to pick up the job where the first one left off? |
Beta Was this translation helpful? Give feedback.
1 reply
-
So if I understand correctly, it is currently impossible to resume where is after leaving? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Heads up: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Below is an error that caused the program to malfunction and terminate.
If the system could store where it was going and resume where it left off, that would be amazing. Is there any way to do this?
SYSTEM: Command Error: threw the following error: Invalid JSON
Traceback (most recent call last):
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 672, in interpret_response_line
data = json.loads(rbody)
^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
<title>api.openai.com | 502: Bad gateway</title>File "C:\Users\PC\OneDrive\Desktop\Business\Healthcare Entrepreneur\AI\GitHub\Auto-GPT\scripts\main.py", line 318, in
assistant_reply = chat.chat_with_ai(
^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\OneDrive\Desktop\Business\Healthcare Entrepreneur\AI\GitHub\Auto-GPT\scripts\chat.py", line 128, in chat_with_ai
assistant_reply = create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\OneDrive\Desktop\Business\Healthcare Entrepreneur\AI\GitHub\Auto-GPT\scripts\llm_utils.py", line 19, in create_chat_completion
response = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 226, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 619, in _interpret_response
self._interpret_response_line(
File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 674, in _interpret_response_line
raise error.APIError(
openai.error.APIError: HTTP code 502 from API (
Cloudflare
WorkingCloudflare Ray ID: 7b5cf7134db6b0b5 • Your IP: Click to reveal 12.138.46.235 • Performance & security by Cloudflare
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>)
PS C:\Users\PC\OneDrive\Desktop\Business\Healthcare Entrepreneur\AI\GitHub\Auto-GPT>
Beta Was this translation helpful? Give feedback.
All reactions