Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: RepoExplorer throws AttributeError #1423

Closed
2 tasks done
li-boxuan opened this issue Apr 28, 2024 · 0 comments · Fixed by #1424
Closed
2 tasks done

[Bug]: RepoExplorer throws AttributeError #1423

li-boxuan opened this issue Apr 28, 2024 · 0 comments · Fixed by #1424
Labels
bug Something isn't working

Comments

@li-boxuan
Copy link
Collaborator

Is there an existing issue for the same bug?

Describe the bug

I was testing this task with GPT-4-turbo:

poetry run python ./opendevin/main.py -i 10 -t "Write a shell script 'hello.sh' that prints 'hello'." -c "Manager" -d "./workspace"

The manager agent attempts to delegate the task to RepoExplorer, but an exception is thrown:

File "/Users/liboxuan/workspace/OpenDevin/opendevin/controller/agent_controller.py", line 181, in start_delegate
task = action.inputs.get('task') or ''
^^^^^^^^^^^^^^^^^
ERROR:root:<class 'AttributeError'>: 'list' object has no attribute 'get'

Current Version

commit fd9e5981369a7bc5e5b779ca4ca0e30b3c793744
Author: Robert Brennan <accounts@rbren.io>
Date:   Fri Apr 26 17:53:54 2024 -0400

    add options for controlling memory (#1364)

    * add options for controlling memory

    * Update agenthub/monologue_agent/utils/memory.py

    Co-authored-by: Jim Su <jimsu@protonmail.com>

    * move memory initialization switch back

    * fix lint

    * fix type

    ---------

    Co-authored-by: Jim Su <jimsu@protonmail.com>


### Installation and Configuration

```bash
1 LLM_MODEL="gpt-4-turbo"
  2 LLM_API_KEY="<key>"
  3 LLM_EMBEDDING_MODEL="openai"
  4 WORKSPACE_MOUNT_PATH="/Users/liboxuan/workspace/OpenDevin/workspace"
  5 SANDBOX_TYPE="ssh"

Model and Agent

  • Model: GPT-4-Turbo
  • Agent: Manager

Reproduction Steps

No response

Logs, Errors, Screenshots, and Additional Context

No response

@li-boxuan li-boxuan added the bug Something isn't working label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant