File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ def __init__(
3838 self ,
3939 browser_computer : Computer ,
4040 query : str ,
41- model_name : Literal [
42- "computer-use-exp-6-11"
43- ] = "computer-use-exp-6-11" ,
41+ model_name : str
4442 ):
4543 self ._browser_computer = browser_computer
4644 self ._query = query
Original file line number Diff line number Diff line change @@ -59,6 +59,11 @@ def main() -> int:
5959 default = False ,
6060 help = "If possible, highlight the location of the mouse." ,
6161 )
62+ parser .add_argument (
63+ "--model" ,
64+ default = 'computer-use-exp-6-11' ,
65+ help = "Set which main model to use." ,
66+ )
6267 args = parser .parse_args ()
6368
6469 if args .env == "cloud-run" :
@@ -83,6 +88,7 @@ def main() -> int:
8388 agent = BrowserAgent (
8489 browser_computer = browser_computer ,
8590 query = args .query ,
91+ model_name = args .model ,
8692 )
8793 agent .agent_loop ()
8894 return 0
You can’t perform that action at this time.
0 commit comments