-
Notifications
You must be signed in to change notification settings - Fork 72
Consolidate Agent #91
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
Consolidate Agent #91
Conversation
STG-492 Consolidate agent between envs
|
stagehand/main.py
Outdated
|
||
from .agent import Agent | ||
|
||
# from .agent_bb import Agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats this comment for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remove good catch
auto_screenshot (Optional[bool]): Whether to automatically capture screenshots after each action. False will let the agent choose when to capture screenshots. Defaults to False. | ||
auto_screenshot (Optional[bool]): Whether to automatically capture screenshots after each action. False will let the agent choose when to capture screenshots. Defaults to True. | ||
wait_between_actions (Optional[int]): Milliseconds to wait between actions. | ||
context (Optional[str]): Additional context for the agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we have an example or more description ? by context you mean prompt? ppl could mistake this with browser context api etc...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just appended the schemas extra params for backwards compatibility, I'd love to add comments to the exposed functions kinda like jsdoc
why
what changed
test plan