Skip to content

While trying locally with env="playwright" it also hits gemini-2.5-pro #71

@drashyakuruwa

Description

@drashyakuruwa

Hello,

I am not sure if I'm facing an issue or if this is the expected behaviour.

I was setting up the project on my local Windows 11 Pro machine and ran the sample command:
python main.py --query="Go to Google and type 'Hello World' into the search bar" --env="playwright"

Initially, I received an "API key limit exhausted" error while using a free-tier Gemini API key. I then created a paid-tier key and retried the command. This time it worked, but the execution was a bit slow.

I tried a different query, and while it also executed successfully, the performance was still slow.

When I checked my API key usage, I saw the following:

Image

When I checked the code in the main.py and agent.py files, I could only find this configuration.:

parser.add_argument(
    "--model",
    default='gemini-2.5-computer-use-preview-10-2025',
    help="Set which main model to use.",
)

Why is gemini-2.5-pro also being used, and is this the expected behaviour? If it is, can I change the configuration to use a faster model like gemini-2.5-flash?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions