All-Hands-AI / OpenHands

πŸ™Œ OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
33.21k stars 3.81k forks source link

Agent stuck in the "starting task" step--Unsupported Protocol #908

Closed DEM1TASSE closed 6 months ago

DEM1TASSE commented 6 months ago

Describe the bug

I asked the agent to build a calculator, but it didn't give me any response, just stuck in the starting step.

Setup and configuration

Current version:

commit e9121b78fed0b5ef36718ca0bf59588c0b094b86 (HEAD -> main)
Author: Xingyao Wang <xingyao6@illinois.edu>
Date:   Sun Apr 7 16:07:59 2024 +0800

My config.toml and environment vars (be sure to redact API keys):

LLM_MODEL="gpt-3.5-turbo-1106"
LLM_API_KEY="already set, and have test in python script, which works"
LLM_EMBEDDING_MODEL="openai"
WORKSPACE_DIR="./workspace"

My model and agent (you can see these settings in the UI):

Commands I ran to install and run OpenDevin:

make build 
make run

Steps to Reproduce: run the commands, input: build a calculator with python

Logs, error messages, and screenshots: image backend:

INFO:     127.0.0.1:34564 - "GET /litellm-agents HTTP/1.1" 200 OK
INFO:     127.0.0.1:34572 - "GET /messages/total HTTP/1.1" 200 OK
INFO:     127.0.0.1:34584 - "DELETE /messages HTTP/1.1" 200 OK

==============
STEP 0

PLAN:
build a calculator with python

INFO:
HINT:
You're not currently working on any tasks. Your next action MUST be to mark a task as in_progress.

frontend:

22:35:39 - opendevin:INFO: sandbox.py:117 - Using workspace directory: /mnt/d/OpenDevin/workspace
22:35:39 - opendevin:INFO: sandbox.py:257 - Container stopped
22:35:39 - opendevin:INFO: sandbox.py:277 - Container started
22:37:54 - opendevin:INFO: sandbox.py:117 - Using workspace directory: /mnt/d/OpenDevin/workspace

llm prompt_001:

[{'content': '\n# Task\nYou\'re a diligent software engineer AI. You can\'t see, draw, or interact with a\nbrowser, but you can read and write files, and you can run commands, and you can think.\n\nYou\'ve been given the following task:\n\nbuild a calculator with python\n\n## Plan\nAs you complete this task, you\'re building a plan and keeping\ntrack of your progress. Here\'s a JSON representation of your plan:\n\n{\n  "id": "0",\n  "goal": "build a calculator with python",\n  "state": "open",\n  "subtasks": []\n}\n\n\nYou\'re not currently working on any tasks. Your next action MUST be to mark a task as in_progress.\n\nYou\'re responsible for managing this plan and the status of tasks in\nit, by using the `add_task` and `modify_task` actions described below.\n\nIf the History below contradicts the state of any of these tasks, you\nMUST modify the task using the `modify_task` action described below.\n\nBe sure NOT to duplicate any tasks. Do NOT use the `add_task` action for\na task that\'s already represented. Every task must be represented only once.\n\nTasks that are sequential MUST be siblings. They must be added in order\nto their parent task.\n\nIf you mark a task as \'completed\', \'verified\', or \'abandoned\',\nall non-abandoned subtasks will be marked the same way.\nSo before closing a task this way, you MUST not only be sure that it has\nbeen completed successfully--you must ALSO be sure that all its subtasks\nare ready to be marked the same way.\n\nIf, and only if, ALL tasks have already been marked verified,\nyou MUST respond with the `finish` action.\n\n## History\nHere is a recent history of actions you\'ve taken in service of this plan,\nas well as observations you\'ve made. This only includes the MOST RECENT\nten actions--more happened before that.\n\n[]\n\n\nYour most recent action is at the bottom of that history.\n\n## Action\nWhat is your next thought or action? Your response must be in JSON format.\n\nIt must be an object, and it must contain two fields:\n* `action`, which is one of the actions below\n* `args`, which is a map of key-value pairs, specifying the arguments for that action\n\n* `read` - reads the content of a file. Arguments:\n  * `path` - the path of the file to read\n* `write` - writes the content to a file. Arguments:\n  * `path` - the path of the file to write\n  * `content` - the content to write to the file\n* `run` - runs a command on the command line in a Linux shell. Arguments:\n  * `command` - the command to run\n  * `background` - if true, run the command in the background, so that other commands can be run concurrently. Useful for e.g. starting a server. You won\'t be able to see the logs. You don\'t need to end the command with `&`, just set this to true.\n* `kill` - kills a background command\n  * `id` - the ID of the background command to kill\n* `browse` - opens a web page. Arguments:\n  * `url` - the URL to open\n* `think` - make a plan, set a goal, or record your thoughts. Arguments:\n  * `thought` - the thought to record\n* `add_task` - add a task to your plan. Arguments:\n  * `parent` - the ID of the parent task\n  * `goal` - the goal of the task\n  * `subtasks` - a list of subtasks, each of which is a map with a `goal` key.\n* `modify_task` - close a task. Arguments:\n  * `id` - the ID of the task to close\n  * `state` - set to \'in_progress\' to start the task, \'completed\' to finish it, \'verified\' to assert that it was successful, \'abandoned\' to give up on it permanently, or `open` to stop working on it for now.\n* `finish` - if ALL of your tasks and subtasks have been verified or abandoned, and you\'re absolutely certain that you\'ve completed your task and have tested your work, use the finish action to stop working.\n\nYou MUST take time to think in between read, write, run, browse, and recall actions.\nYou should never act twice in a row without thinking. But if your last several\nactions are all `think` actions, you should consider taking a different action.\n\nWhat is your next thought or action? Again, you must reply with JSON, and only with JSON.\n\nYou\'re not currently working on any tasks. Your next action MUST be to mark a task as in_progress.\n', 'role': 'user'}]

llm response is empty

Additional Context

I also tried to use gpt-4 and got the same result.

enyst commented 6 months ago

Can you try to:

DEM1TASSE commented 6 months ago

Can you try to:

  • clear out the container (any from opendevin start with sandbox-), restart docker, maybe even the image
  • run separately: make start-backend, make start-frontend In different terminals.

I've tried these but seems not work

DEM1TASSE commented 6 months ago

Errors:

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

ERROR:
OpenAIException - Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
    yield
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
    raise exc from None
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
    raise exc
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
    with map_exceptions(exc_map):
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 931, in _request
    response = self._client.send(
               ^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/custom_httpx/azure_dall_e_2.py", line 133, in handle_request
    return super().handle_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
    with map_httpcore_exceptions():
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion
    response = openai_client.chat.completions.create(**data, timeout=timeout)  # type: ignore      
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))      
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 965, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
    yield
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
    raise exc from None
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
    raise exc
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
    with map_exceptions(exc_map):
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 931, in _request
    response = self._client.send(
               ^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/custom_httpx/azure_dall_e_2.py", line 133, in handle_request
    return super().handle_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
    with map_httpcore_exceptions():
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion
    response = openai_client.chat.completions.create(**data, timeout=timeout)  # type: ignore      
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))      
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 965, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/main.py", line 997, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/main.py", line 970, in completion
    response = openai_chat_completions.completion(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 422, in completion
    raise OpenAIError(status_code=500, message=traceback.format_exc())
litellm.llms.openai.OpenAIError: Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
    yield
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
    raise exc from None
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
    raise exc
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
    with map_exceptions(exc_map):
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 931, in _request
    response = self._client.send(
               ^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/custom_httpx/azure_dall_e_2.py", line 133, in handle_request
    return super().handle_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
    with map_httpcore_exceptions():
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion
    response = openai_client.chat.completions.create(**data, timeout=timeout)  # type: ignore      
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))      
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 965, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/d/ζŠ€ζœ―ε­¦δΉ /OpenDevin/opendevin/controller/agent_controller.py", line 135, in step     
    action = self.agent.step(self.state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/d/ζŠ€ζœ―ε­¦δΉ /OpenDevin/agenthub/planner_agent/agent.py", line 42, in step
    resp = self.llm.completion(messages=messages)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/d/ζŠ€ζœ―ε­¦δΉ /OpenDevin/opendevin/llm/llm.py", line 58, in wrapper
    resp = completion_unwrapped(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 329, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 326, in completion
    response = self.function_with_fallbacks(**kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 1420, in function_with_fallbacks
    raise original_exception
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 1345, in function_with_fallbacks
    response = self.function_with_retries(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 1497, in function_with_retries
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 1463, in function_with_retries
    response = original_function(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 387, in _completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/router.py", line 370, in _completion
    response = litellm.completion(
               ^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 2947, in wrapper
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 2845, in wrapper
    result = original_function(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/main.py", line 2129, in completion
    raise exception_type(
          ^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 8526, in exception_type
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 7390, in exception_type
    raise APIError(
litellm.exceptions.APIError: OpenAIException - Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
    yield
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
    raise exc from None
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
    raise exc
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
    with map_exceptions(exc_map):
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 931, in _request
    response = self._client.send(
               ^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/custom_httpx/azure_dall_e_2.py", line 133, in handle_request
    return super().handle_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
    with map_httpcore_exceptions():
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion
    response = openai_client.chat.completions.create(**data, timeout=timeout)  # type: ignore      
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))      
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 965, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.

OBSERVATION:
OpenAIException - Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
    yield
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
    raise exc from None
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
    raise exc
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 122, in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 205, in connect_tcp
    with map_exceptions(exc_map):
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 931, in _request
    response = self._client.send(
               ^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/custom_httpx/azure_dall_e_2.py", line 133, in handle_request
    return super().handle_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
    with map_httpcore_exceptions():
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion
    response = openai_client.chat.completions.create(**data, timeout=timeout)  # type: ignore      
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))      
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 965, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.

But in my environment when I try to run this test the connection works:

from openai import OpenAI

client = OpenAI(
  api_key='',  # this is also the default, it can be omitted
)

response = client.chat.completions.create(
  model="gpt-3.5-turbo",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Who won the world series in 2020?"},
  ]
)

print(response.choices[0].message.content)

maybe something related to litellm?

DEM1TASSE commented 6 months ago

also have tried to run this:

import warnings
warnings.filterwarnings("ignore")

import tomllib as toml
from litellm import completion
from datetime import datetime
file_path=r'config.toml'
config = toml.load(open(file_path,'rb'))

messages = [{ "content": "What is the meaning of life?","role": "user"}]
dt = datetime.now()
response = completion(model=config['LLM_MODEL'], 
                        api_key=config['LLM_API_KEY'],
                        base_url=config.get('LLM_BASE_URL'),
                      messages=messages)

print(response.choices[0].message.content)

dt2 = datetime.now()
print(f"Time taken: {(dt2-dt).total_seconds():.1f}s")

seems good:

The meaning of life is a deep and complex philosophical question that has been debated for centuries. Different people and cultures have different beliefs about the purpose and meaning of life. Some may find meaning in relationships, personal achievements, or spiritual fulfillment, while others may find meaning in contributing to the well-being of others or pursuing knowledge and understanding. Ultimately, the meaning of life is a deeply personal and subjective concept that each individual must explore and define for themselves.
Time taken: 2.9s
enyst commented 6 months ago

@DEM1TASSE can please do:

git log -n1
crsumiran commented 6 months ago

I had the same issue, I tried moving to gpt-4-turbo-preview and it solved. The issue I faced with was due to context window size.

DEM1TASSE commented 6 months ago

@DEM1TASSE可δ»₯θ―·θΏ™ζ ·εšοΌš

git log -n1
commit e9121b78fed0b5ef36718ca0bf59588c0b094b86 (HEAD -> main)
Author: Xingyao Wang <xingyao6@illinois.edu>
Date:   Sun Apr 7 16:07:59 2024 +0800
DEM1TASSE commented 6 months ago

I had the same issue, I tried moving to gpt-4-turbo-preview and it solved. The issue I faced with was due to context window size.

Thanks but it seems not work in my env

enyst commented 6 months ago

Ah, that's 2 days ago. Interesting... I am not sure what that was exactly. Can you please do

git pull

Clean up and remake? Make sure, at least, you stop docker and restart it?

enyst commented 6 months ago

Actually, maybe that's exactly the problem, because meanwhile, we have changed both the sandbox code and the docker image, and the code is pulling latest image. So you may have had the newest image with the older code.

DEM1TASSE commented 6 months ago

Actually, maybe that's exactly the problem, because meanwhile, we have changed both the sandbox code and the docker image, and the code is pulling latest image. So you may have had the newest image with the older code.

I pull the newest version and there still have openai connection errors

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 931, in _request
    response = self._client.send(
               ^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
    with map_httpcore_exceptions():
  File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in __exit__     
    self.gen.throw(typ, value, traceback)
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion
    raise e
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion
    response = openai_client.chat.completions.create(**data, timeout=timeout)  # type: ignore      
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))      
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 955, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 965, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.
enyst commented 6 months ago

File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request with map_httpcore_exceptions(): File "/home/demi/.pyenv/versions/3.11.0/lib/python3.11/contextlib.py", line 155, in exit
self.gen.throw(typ, value, traceback) File "/home/demi/.cache/pypoetry/virtualenvs/opendevin-lxH5SSh6-py3.11/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol

This trace contains .pyenv cache. Is that necessary on your machine? We used pyenv before switching to poetry, but we don't now. How about renaming it to .pyenv-old for example? Also, poetry cache clear . --all and rebuild, maybe it clears it.

Sort of example (not very good and a little old): https://community.openai.com/t/getting-error-with-openai-1-3-5-python-openai-api-connection-error/531090/4

I just had a "connection error" myself, and it turned out that I was using some vars from an old .env file. Oops.

enyst commented 6 months ago

I just had this happen. With this precise stack trace. It looks like the completion call doesn't get a var it needs or gets the wrong vars. Oddly, it wasn't a new installation that got it, an older one updated to main.

@DEM1TASSE lets get a hammer. Can you please make sure to stash any local changes you may have made (config.toml will not be affected), then

git reset --hard e095f8b8a31c144e87e4e0ac87abf19f3a87a7cf
make build
make run

Does that work?

ZachHandley commented 6 months ago

@rbren I'm confused, how is this the same as my issue #952?

nvm just tired. I see. My first error was an invalid URL error so, could be that

miguelcastilho commented 6 months ago

I'm getting the same error stack on a fresh installation

I just had this happen. With this precise stack trace. It looks like the completion call doesn't get a var it needs or gets the wrong vars. Oddly, it wasn't a new installation that got it, an older one updated to main.

@DEM1TASSE lets get a hammer. Can you please make sure to stash any local changes you may have made (config.toml will not be affected), then

git reset --hard e095f8b8a31c144e87e4e0ac87abf19f3a87a7cf
make build
make run

Does that work?

That commit does not exist.

fatal: Could not parse object 'e095f8b8a31c144e87e4e0ac87abf19f3a87a7cf'.

enyst commented 6 months ago

That commit does not exist.

fatal: Could not parse object 'e095f8b8a31c144e87e4e0ac87abf19f3a87a7cf'.

Sorry, try

git reset --hard 3c4b3eddc01b5e6be13ba0757cc917e4e10a2ae1
make build
make run

And please do tell if that seems to solve the issue.

miguelcastilho commented 6 months ago

It worked. I'm past that error and now I have my own issues with quota

kroggen commented 6 months ago

It should have a make clean to run on these cases, before rebuilding I don't know which files to remove Just the docker image and container?

enyst commented 6 months ago

@kroggen yes, if your issue is the user in the docker, as you said in another issue. I don't think it's the same with this issue.

kroggen commented 6 months ago

I was having the same issue above Tried the command above but now it says it cannot downgrade

- Downgrading joblib (1.4.0 -> 1.3.2): Failed

Why is it so hard to install this thing?

It has been 3 f**ing hours already!!!

enyst commented 6 months ago

@ZachHandley @DEM1TASSE I replicated the issue, and this is what fixed it:

DEM1TASSE Were you using the history feature? Re-loading history, re-using the same window?

enyst commented 6 months ago

I was having the same issue above Tried the command above but now it says it cannot downgrade

- Downgrading joblib (1.4.0 -> 1.3.2): Failed

Why is it so hard to install this thing?

It has been 3 f**ing hours already!!!

Can you open a new issue please? New issues have a template where we ask for information, to help us figure it out.

kroggen commented 6 months ago

There is no reason. It only happened because of the git reset to previous commit. Once the other problem is fixed the downgrade will no longer be needed.

I reformatted the Linux server and starting everything from scratch, now without root and also using the commit above (it should be on the readme BTW)

And now finally it is working!

Although it is very dumb using gpt-4-turbo-preview. I asked to make a repetitive task, it did 2 and then in next iterations it said it is not able to do that, even having done it twice before. Then it keeps repeating it cannot do that and I have to Control+C otherwise it would not exit the loop.

Can we configure the temperature?

DEM1TASSE commented 6 months ago

@ZachHandley @DEM1TASSE I replicated the issue, and this is what fixed it:

  • please pull this branch FE configΒ #960
  • close the browser, stop opendevin backend, frontend
  • use another browser, or clear local storage
  • make build
  • make start-backend, allow it to finish until it says uvicorn ready or so
  • make start-frontend
  • open localhost:3001

DEM1TASSE Were you using the history feature? Re-loading history, re-using the same window?

What is the 'history feature' mean? Every time I close the browser and open it again, and I choose 'start a new session' instead of 'load old'. I'll try these steps rn

DEM1TASSE commented 6 months ago

@ZachHandley @DEM1TASSE I replicated the issue, and this is what fixed it:

  • please pull this branch FE configΒ #960
  • close the browser, stop opendevin backend, frontend
  • use another browser, or clear local storage
  • make build
  • make start-backend, allow it to finish until it says uvicorn ready or so
  • make start-frontend
  • open localhost:3001

DEM1TASSE Were you using the history feature? Re-loading history, re-using the same window?

OMG it actually works, i've stuck in this step for 3 days... image Thank you so much!

and could i ask how to close the browser and frontend/backend correctly? Everytime I got this: image

enyst commented 6 months ago

@DEM1TASSE You can clear the browser, but maybe also delete the ./cache folder. It has a file sessions.json which might still trigger this question. But either way if you're on the branch it shouldn't interfere anymore with authentication. That is a bug, and it's being fixed.

Can you please confirm that you are using the branch https://github.com/OpenDevin/OpenDevin/pull/960 ?

DEM1TASSE commented 6 months ago

@DEM1TASSE You can clear the browser, but maybe also delete the ./cache folder. It has a file sessions.json which might still trigger this question. But either way if you're on the branch it shouldn't interfere anymore with authentication. That is a bug, and it's being fixed.

Can you please confirm that you are using the branch #960 ?

Yes I'm using #960, but I'm not sure whether the change is due to this branch or because I cleared the poetry cache. Delete sessions.json can solve the problem above.

enyst commented 6 months ago

@ZachHandley Please pull master, and clean up your environment, in particular of ./cache folder and browser cache. (or try a different browser for a test). Close all older browser tabs in use with opendevin, that kind of stuff, or clear up as suggested above.

I think the Unsupported Protocol issue should be gone with the new master and no leftovers in caches. If it doesn't for you, or you see other issues, please open another issue.

Mass0090 commented 6 months ago

Hello i am facing the same issue, however i have upgrade the chatGPT 3.5 to ChatGpt 4 but still not working.

i followed theses steps

git pull i have closed the browser, stop opendevin backend, frontend i have used another browser, and clear local storage for the browser delete all the catch files in OpenDevin folder -- Done make build - successfully..
make start-backend, allow it to finish until it says uvicorn ready or so -- this done successfully.... make start-frontend -- this done successfully.... open localhost:3001-- this done successfully....

`malam@Mass:~/OpenDevin$ make start-backend Starting backend... The currently activated Python version 3.10.12 is not supported by the project (^3.11). Trying to find and use a compatible version. Using python3.11 (3.11.0) /home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "modellist" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( /home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "modelname" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( /home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_groupalias" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( /home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "modelinfo" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( /home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "modelid" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = (). warnings.warn( modules.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 349/349 [00:00<00:00, 1.18MB/s] config_sentence_transformers.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 124/124 [00:00<00:00, 478kB/s] README.md: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 94.8k/94.8k [00:00<00:00, 475kB/s] sentence_bert_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 52.0/52.0 [00:00<00:00, 154kB/s] config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 743/743 [00:00<00:00, 6.23MB/s] model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 133M/133M [00:12<00:00, 10.5MB/s] tokenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 366/366 [00:00<00:00, 2.26MB/s] vocab.txt: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 232k/232k [00:00<00:00, 592kB/s] tokenizer.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 711k/711k [00:00<00:00, 3.12MB/s] special_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 125/125 [00:00<00:00, 864kB/s] 1_Pooling/config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 190/190 [00:00<00:00, 521kB/s] INFO: Started server process [2210] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:3000 (Press CTRL+C to quit) 22:46:05 - opendevin:ERROR: auth.py:18 - Error decoding token: Not enough segments Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/jwt/api_jws.py", line 257, in _load signing_input, crypto_segment = jwt.rsplit(b".", 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/malam/OpenDevin/opendevin/server/auth/auth.py", line 12, in get_sid_from_token payload = jwt.decode(token, JWT_SECRET, algorithms=["HS256"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/jwt/api_jwt.py", line 210, in decode decoded = self.decode_complete( ^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/jwt/api_jwt.py", line 151, in decode_complete decoded = api_jws.decode_complete( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/jwt/api_jws.py", line 198, in decode_complete payload, signing_input, header, signature = self._load(jwt) ^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/jwt/api_jws.py", line 260, in _load raise DecodeError("Not enough segments") from err jwt.exceptions.DecodeError: Not enough segments INFO: 127.0.0.1:47154 - "GET /auth HTTP/1.1" 200 OK INFO: ('127.0.0.1', 47170) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiI3ZDdiZWFjMC0xNjg5LTQ5OTAtYTljNS0yNGI5MDEyOTZmYjkifQ.ESZTj7O_NshqzAhyBULF0AAiLy63a9y4XQj8p9flDEI" [accepted] Starting loop_recv for sid: 7d7beac0-1689-4990-a9c5-24b901296fb9, False INFO: connection open INFO: 127.0.0.1:47178 - "GET /refresh-files HTTP/1.1" 200 OK INFO: 127.0.0.1:47204 - "GET /messages/total HTTP/1.1" 200 OK INFO: 127.0.0.1:47188 - "GET /configurations HTTP/1.1" 200 OK INFO: 127.0.0.1:47210 - "GET /refresh-files HTTP/1.1" 200 OK INFO: 127.0.0.1:47212 - "GET /configurations HTTP/1.1" 200 OK INFO: 127.0.0.1:47228 - "GET /messages/total HTTP/1.1" 200 OK 22:46:06 - opendevin:INFO: sandbox.py:119 - Using workspace directory: /home/malam/OpenDevin/workspace 22:46:06 - opendevin:INFO: sandbox.py:332 - Container stopped 22:46:06 - opendevin:INFO: sandbox.py:367 - Container started 22:46:07 - opendevin:INFO: sandbox.py:383 - waiting for container to start: 1, container status: running 22:46:07 - opendevin:INFO: sandbox.py:210 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 2222 opendevin@localhost with the password '4eaec8dc-05c5-4333-a29b-cae18b902e15' and report the issue on GitHub. 22:46:08 - opendevin:INFO: sandbox.py:119 - Using workspace directory: /home/malam/OpenDevin/workspace 22:46:09 - opendevin:INFO: sandbox.py:210 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 2222 opendevin@localhost with the password 'e0fcd195-40b9-4193-b907-895613447aa0' and report the issue on GitHub.

============== STEP 0

PLAN: Hi

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

ERROR: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion response = openai_client.chat.completions.create(*data, timeout=timeout) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create return self._post( ^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request return self._request( ^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 978, in _request return self._retry_request( ^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request return self._request( ^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 978, in _request return self._retry_request( ^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request return self._request( ^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 993, in _request raise self._make_status_error_from_response(err.response) from None openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/main.py", line 999, in completion raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/main.py", line 972, in completion response = openai_chat_completions.completion( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 420, in completion raise OpenAIError(status_code=e.status_code, message=str(e)) litellm.llms.openai.OpenAIError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/malam/OpenDevin/opendevin/controller/agent_controller.py", line 135, in step action = self.agent.step(self.state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/OpenDevin/agenthub/monologue_agent/agent.py", line 215, in step resp = self.llm.completion(messages=messages) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/OpenDevin/opendevin/llm/llm.py", line 37, in wrapper resp = completion_unwrapped(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 2947, in wrapper raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 2845, in wrapper result = original_function(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/main.py", line 2119, in completion raise exception_type( ^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 8526, in exception_type raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 7367, in exception_type raise RateLimitError( litellm.exceptions.RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} 22:48:34 - opendevin:ERROR: agent_controller.py:113 - Error in loop Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 414, in completion raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 373, in completion response = openai_client.chat.completions.create(data, timeout=timeout) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper return func(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 667, in create return self._post( ^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1213, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 902, in request return self._request( ^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 978, in _request return self._retry_request( ^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request return self._request( ^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 978, in _request return self._retry_request( ^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1026, in _retry_request return self._request( ^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 993, in _request raise self._make_status_error_from_response(err.response) from None openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/main.py", line 999, in completion raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/main.py", line 972, in completion response = openai_chat_completions.completion( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/llms/openai.py", line 420, in completion raise OpenAIError(status_code=e.status_code, message=str(e)) litellm.llms.openai.OpenAIError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/malam/OpenDevin/opendevin/controller/agent_controller.py", line 111, in start_loop finished = await self.step(i) ^^^^^^^^^^^^^^^^^^ File "/home/malam/OpenDevin/opendevin/controller/agent_controller.py", line 135, in step action = self.agent.step(self.state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/OpenDevin/agenthub/monologue_agent/agent.py", line 215, in step resp = self.llm.completion(messages=messages) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/OpenDevin/opendevin/llm/llm.py", line 37, in wrapper resp = completion_unwrapped(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 2947, in wrapper raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 2845, in wrapper result = original_function(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/main.py", line 2119, in completion raise exception_type( ^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 8526, in exception_type raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 7367, in exception_type raise RateLimitError( litellm.exceptions.RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} `

any idea what is the reason?? Error during task loop.

Thank you