Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

MagMueller
Copy link
Collaborator

@MagMueller MagMueller commented Sep 2, 2025

Auto-generated PR for: update-local-dev-docs


Summary by cubic

Streamlined local development and contribution docs to make onboarding faster and clearer. Added more LLM provider keys to .env.example and corrected the LLM quickstart token count.

  • Refactors
    • Rewrote Local Setup and Contribution Guide with a shorter quick start and a focused PR checklist.
    • Consolidated env setup and added a logging-level tip.
    • Extended .env.example with AZURE_OPENAI_API_KEY, AZURE_ENDPOINT, GOOGLE_API_KEY, DEEPSEEK_API_KEY, GROK_API_KEY, and NOVITA_API_KEY.
    • Updated LLM quickstart token size reference to ~32k.

Copy link

github-actions bot commented Sep 2, 2025

Agent Task Evaluation Results: 3/3 (100%)

View detailed results
Task Result Reason
amazon_laptop ✅ Pass The agent successfully navigated to amazon.com, performed a search for 'laptop', and returned the name and details of the first laptop product listing as requested. The output includes the product title, rating, number of ratings, price, and delivery date, fulfilling the task requirements.
browser_use_pip ✅ Pass The agent's output includes the exact pip installation command 'pip install browser-use' as required by the task. The explanation is clear and instructs the user on how to use the command, meeting the success criteria.
captcha_cloudflare ✅ Pass The agent successfully solved the captcha, waited appropriately, clicked the 'Check' button, and extracted the hostname value 'example.com' as required. All task criteria were met.

Check the evaluate-tasks job for detailed task execution logs.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found across 4 files

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

cd browser-use
uv sync --all-extras --dev
# or pip install -U git+https://github.com/browser-use/browser-use.git@main
- This space is moving fast. We have 10 ideas daily. Lets exchange some.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the contraction "Let's" and remove the trailing whitespace at the end of the line.

(Based on your team's feedback about matching the project's indentation style (tabs, not spaces), the fix avoids stray trailing spaces.)

Prompt for AI agents
Address the following comment on docs/development/contribution-guide.mdx at line 18:

<comment>Use the contraction &quot;Let&#39;s&quot; and remove the trailing whitespace at the end of the line.

(Based on your team&#39;s feedback about matching the project&#39;s indentation style (tabs, not spaces), the fix avoids stray trailing spaces.)</comment>

<file context>
@@ -5,68 +5,35 @@ icon: &quot;github&quot;
-cd browser-use
-uv sync --all-extras --dev
-# or pip install -U git+https://github.com/browser-use/browser-use.git@main
+- This space is moving fast. We have 10 ideas daily. Lets exchange some. 
+- Browse our [GitHub Issues](https://github.com/browser-use/browser-use/issues)
+- Check out our most active issues on [Discord](https://discord.gg/zXJJHtJf3k) 
</file context>
Suggested change
- This space is moving fast. We have 10 ideas daily. Lets exchange some.
- This space is moving fast. We have 10 ideas daily. Let's exchange some.

.env.example Outdated
# OPENAI_API_KEY=your_openai_api_key_here
# ANTHROPIC_API_KEY=your_anthropic_api_key_here
# AZURE_OPENAI_API_KEY=
# AZURE_ENDPOINT=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misnamed environment variable: use AZURE_OPENAI_ENDPOINT instead of AZURE_ENDPOINT to match code and docs; otherwise Azure config won’t be read.

Prompt for AI agents
Address the following comment on .env.example at line 37:

<comment>Misnamed environment variable: use AZURE_OPENAI_ENDPOINT instead of AZURE_ENDPOINT to match code and docs; otherwise Azure config won’t be read.</comment>

<file context>
@@ -33,6 +33,12 @@ ANONYMIZED_TELEMETRY=true
 # OPENAI_API_KEY=your_openai_api_key_here
 # ANTHROPIC_API_KEY=your_anthropic_api_key_here
+# AZURE_OPENAI_API_KEY=
+# AZURE_ENDPOINT=
+# GOOGLE_API_KEY=
+# DEEPSEEK_API_KEY=
</file context>
Suggested change
# AZURE_ENDPOINT=
# AZURE_OPENAI_ENDPOINT=

NOVITA_API_KEY=
BROWSER_USE_LOGGING_LEVEL=debug # Helpful for development
# set logging level
echo "BROWSER_USE_LOGGING_LEVEL=debug" >> .env
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appending BROWSER_USE_LOGGING_LEVEL after copying .env.example duplicates the key; replace in-place if present, append otherwise for an idempotent setup.

Prompt for AI agents
Address the following comment on docs/development/local-setup.mdx at line 27:

<comment>Appending BROWSER_USE_LOGGING_LEVEL after copying .env.example duplicates the key; replace in-place if present, append otherwise for an idempotent setup.</comment>

<file context>
@@ -78,83 +22,38 @@ Set up your environment variables:
-NOVITA_API_KEY=
-BROWSER_USE_LOGGING_LEVEL=debug  # Helpful for development
+# set logging level
+echo &quot;BROWSER_USE_LOGGING_LEVEL=debug&quot; &gt;&gt; .env

</file context>


</details>

```suggestion
if grep -q "^BROWSER_USE_LOGGING_LEVEL=" .env; then sed -i.bak "s/^BROWSER_USE_LOGGING_LEVEL=.*/BROWSER_USE_LOGGING_LEVEL=debug/" .env; else echo "BROWSER_USE_LOGGING_LEVEL=debug" >> .env; fi

- Reformatted JSON structure in `docs.json` for better readability.
- Updated navigation paths for development-related documentation.
- Removed outdated `hooks.mdx` and `mcp-client.mdx` files.
- Added new `get-help.mdx`, `local-setup.mdx`, `contribution-guide.mdx`, and `observability.mdx` files to enhance developer resources.
- Introduced `telemetry.mdx` to clarify data collection practices and opt-out options.
- Updated `mcp-server.mdx` to reflect current capabilities and usage instructions.
- Changed `AZURE_ENDPOINT` to `AZURE_OPENAI_ENDPOINT` in `.env.example`.
- Corrected a typo in the contribution guide from "Lets" to "Let's".
- Commented out the logging level setting in `local-setup.mdx` for clarity.
@MagMueller MagMueller merged commit f440d17 into main Sep 2, 2025
11 checks passed
@MagMueller MagMueller deleted the update-local-dev-docs branch September 2, 2025 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant