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
Print not unset
magmuellerdbdc812b1b8e
diff --git a/examples/custom_system_prompt.py b/examples/custom_system_prompt.pyindex d15dc1713..4b9c947f4 100644--- a/examples/custom_system_prompt.py+++ b/examples/custom_system_prompt.py@@ -29,7 +29,11 @@ async def main():model = ChatOpenAI(model='gpt-4o')agent = Agent(task=task, llm=model, system_prompt_class=MySystemPrompt)- print(json.dumps(agent.system_prompt.get_system_message().model_dump(), indent=4))+ print(+ json.dumps(+ agent.system_prompt.get_system_message().model_dump(exclude_unset=True), indent=4+ )+ )await agent.run()