INNER CODE UNIT · Python
result
handrew/browserpilot · browserpilot/agents/gpt_selenium_agent.py:388
result = func(*args)
self.driver.switch_to.default_content()
else:
result = func(*args)
return result
return wrapper
"""Functions meant for the client to call."""
def set_instructions(self, instructions):
"""Reset the instructions to `instructions`."""
self.instruction_compiler.set_instructions(instructions)
def run(self):
"""Run the agent."""
should_use_compiled = self.instruction_compiler.use_compiled