Skip to content

Commit b414a3c

Browse files
committed
change 3.5-turbo to 4o-mini for now. have not yet done testing
1 parent b97084d commit b414a3c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

browserpilot/agents/compilers/instruction_compiler.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(
8585
self,
8686
instructions=None,
8787
base_prompt=BASE_PROMPT,
88-
model="gpt-3.5-turbo",
88+
model="gpt-4o-mini",
8989
use_compiled=True,
9090
):
9191
"""Initialize the compiler. The compiler handles the sequencing of
@@ -288,7 +288,7 @@ def get_completion(
288288
return text
289289

290290
try:
291-
if "gpt-3.5-turbo" in model or "gpt-4" in model:
291+
if "gpt-4" in model:
292292
response = client.chat.completions.create(
293293
model=model,
294294
messages=[{"role": "user", "content": prompt}],

browserpilot/agents/gpt_selenium_agent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def __init__(
4949
user_data_dir="user_data",
5050
headless=False,
5151
retry=False,
52-
model_for_instructions="gpt-3.5-turbo",
53-
model_for_responses="gpt-3.5-turbo",
52+
model_for_instructions="gpt-4o-mini",
53+
model_for_responses="gpt-4o-mini",
5454
memory_folder=None,
5555
debug=False,
5656
debug_html_folder="",

examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def cli():
1313
@cli.command()
1414
@click.argument("instructions")
1515
@click.option("--chromedriver_path", default="./chromedriver", help="chromedriver path")
16-
@click.option("--model", default="gpt-3.5-turbo", help="which model?")
16+
@click.option("--model", default="gpt-4o-mini", help="which model?")
1717
@click.option("--memory_folder", default=None, help="Memory folder.")
1818
@click.option("--debug", is_flag=True, help="Enable debugging.")
1919
@click.option("--output", default=None, help="Instruction output file.")

0 commit comments

Comments
 (0)