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

open html in a browser demo failed on windows wsl #1023

Open
flyboyer opened this issue Feb 1, 2025 · 2 comments
Open

open html in a browser demo failed on windows wsl #1023

flyboyer opened this issue Feb 1, 2025 · 2 comments
Labels
help wanted Great issue for non-Block contributors

Comments

@flyboyer
Copy link

flyboyer commented Feb 1, 2025

Image

According to the examples given in the instruction manual, I successfully used it to write a small game. However, when I further tried to use a command to make it open in the browser by itself, it prompted me that it did not have this ability. But I checked the configuration and the computercontroller extension has been opened. My computer is Windows, and I run this command in WSL.

@flyboyer
Copy link
Author

flyboyer commented Feb 1, 2025

The LLM I use is gemini-2.0-flash-exp in the example document.

@slingncrypto
Copy link

using gemini-2.0-flash-exp but getting same result (in ubuntu)

Image

jasonkneen added a commit to jasonkneen/maverick that referenced this issue Feb 6, 2025
Fixes block#1023

Add functionality to open HTML files in a browser for WSL on Windows.

* **`crates/goose-mcp/src/computercontroller/mod.rs`**
  - Add a new tool `open_browser` to handle opening HTML files in a browser.
  - Implement the `open_browser` function to open HTML files in a browser.
  - Register the `open_browser` tool in the `ComputerControllerRouter`.

* **`crates/goose-server/src/commands/mcp.rs`**
  - Update the `run` function to initialize the `ComputerControllerRouter` with the capability to handle browser commands.

* **`crates/goose-cli/src/main.rs`**
  - Add a command to open HTML files in a browser.
  - Implement the logic to handle the new command in the `main` function.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/block/goose/issues/1023?shareId=XXXX-XXXX-XXXX-XXXX).
@meenalc meenalc added the help wanted Great issue for non-Block contributors label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Great issue for non-Block contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants