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]: Planner is not visible and browser is disabled #1824

Open
2 tasks done
somuamit opened this issue May 16, 2024 · 5 comments
Open
2 tasks done

[Bug]: Planner is not visible and browser is disabled #1824

somuamit opened this issue May 16, 2024 · 5 comments
Labels
bug Something isn't working severity:low Minor issues, code cleanup, etc

Comments

@somuamit
Copy link

Is there an existing issue for the same bug?

Describe the bug

I have run the following command to run the opendevin, which was given in github opendevin, but the Planner is not visible and if ask to create any user interface it is not opened on opendevin browser and also it is also disabled
opendevin-issue

#The directory you want OpenDevin to modify. MUST be an absolute path!
export WORKSPACE_BASE=$(pwd)/workspace;

docker run
-it
--pull=always
-e SANDBOX_USER_ID=$(id -u)
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE
-v $WORKSPACE_BASE:/opt/workspace_base
-v /var/run/docker.sock:/var/run/docker.sock
-p 3000:3000
--add-host host.docker.internal:host-gateway
ghcr.io/opendevin/opendevin:0.5

Current Version

ghcr.io/opendevin/opendevin:0.5

Installation and Configuration

#The directory you want OpenDevin to modify. MUST be an absolute path!
export WORKSPACE_BASE=$(pwd)/workspace;

docker run \
    -it \
    --pull=always \
    -e SANDBOX_USER_ID=$(id -u) \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    ghcr.io/opendevin/opendevin:0.5

Model and Agent

Model: groq/llama3-8b-8192

Reproduction Steps

  1. Take Ubuntu box in EC2
  2. Install docker on EC2
  3. Execute the following command which is given in opendevin github:
    #The directory you want OpenDevin to modify. MUST be an absolute path!
    export WORKSPACE_BASE=$(pwd)/workspace;

docker run
-it
--pull=always
-e SANDBOX_USER_ID=$(id -u)
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE
-v $WORKSPACE_BASE:/opt/workspace_base
-v /var/run/docker.sock:/var/run/docker.sock
-p 3000:3000
--add-host host.docker.internal:host-gateway
ghcr.io/opendevin/opendevin:0.5

Logs, Errors, Screenshots, and Additional Context

opendevin-issue

@somuamit somuamit added the bug Something isn't working label May 16, 2024
@PierrunoYT
Copy link
Contributor

Instead of using 0.5 use the main tag

@somuamit
Copy link
Author

Many thanks for the prompt reply, PierrunoYT.
Have executed the following docker command:
docker run -it --pull=always -e SANDBOX_USER_ID=$(id -u) -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE -v $WORKSPACE_BASE:/opt/workspace_base -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 --add-host host.docker.internal:host-gateway ghcr.io/opendevin/opendevin:main

But problem remain the same. Still I am not able to see the Planner tab and also when tried to click workspace_base , it is giving error. Any suggestion will be appreciated

opendevin-issue-1
opendevin-issue-2

@PierrunoYT
Copy link
Contributor

Many thanks for the prompt reply, PierrunoYT. Have executed the following docker command: docker run -it --pull=always -e SANDBOX_USER_ID=$(id -u) -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE -v $WORKSPACE_BASE:/opt/workspace_base -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 --add-host host.docker.internal:host-gateway ghcr.io/opendevin/opendevin:main

But problem remain the same. Still I am not able to see the Planner tab and also when tried to click workspace_base , it is giving error. Any suggestion will be appreciated

opendevin-issue-1 opendevin-issue-2

Not sure why.

@Shimada666
Copy link
Contributor

const { AGENT } = getSettings();
const baseTabs = [TabOption.CODE, TabOption.BROWSER];
const extraTabsMap: { [key: string]: TabOption[] } = {
CodeActAgent: [TabOption.JUPYTER],
PlannerAgent: [TabOption.PLANNER],
};
const extraTabs = extraTabsMap[AGENT] || [];
const showTabs = [...baseTabs, ...extraTabs];

The Planner Tab will only be displayed when using the PlannerAgent.
@xingyaoww Is the current PlannerAgent available?

@SmartManoj
Copy link
Collaborator

SmartManoj commented May 16, 2024

#1173

when tried to click workspace_base , it is giving error.

Seems, it is fixed in the latest version. You can ignore that.

@SmartManoj SmartManoj added the severity:low Minor issues, code cleanup, etc label May 16, 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 severity:low Minor issues, code cleanup, etc
Projects
None yet
Development

No branches or pull requests

4 participants