Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Refactor llama4-groq example script to improve readability and maintainability by commenting out unused ChatGroq integration and restructuring agent initialization.
Magnus Müller17c11461825f
diff --git a/examples/models/llama4-groq.py b/examples/models/llama4-groq.pyindex 338d51539..11b944e5c 100644--- a/examples/models/llama4-groq.py+++ b/examples/models/llama4-groq.py@@ -18,19 +18,21 @@ llm = ChatOpenAI(api_key=os.environ.get('GROQ_API_KEY'),temperature=0.0,)-from langchain_groq import ChatGroq-llm = ChatGroq(- model='meta-llama/llama-4-maverick-17b-128e-instruct',- api_key=os.environ.get('GROQ_API_KEY'),- temperature=0.0,-)+# llm = ChatGroq(+# model='meta-llama/llama-4-maverick-17b-128e-instruct',+# api_key=os.environ.get('GROQ_API_KEY'),+# temperature=0.0,+# )task = 'Open the page with an overview of the submission of releases on Discogs. Website: https://www.discogs.com/ 'async def main():- agent = Agent(task=task, llm=llm, tool_calling_method='function_calling')+ agent = Agent(+ task=task,+ llm=llm,+ )await agent.run()