Skip to content

Fix the bug to enable the demo_mode #241

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

yxxan
Copy link

@yxxan yxxan commented Apr 24, 2025

What change is being made?
In ui_assistant.py: agent_args.flags.action.demo_mode -> agent_args.flags.action.action_set.demo_mode

Why are these changes being made?
the demo_mode flag is not being used in the right place to enable the cursor on screen
the demo_mode should be set in bgym.HighLevelActionSetArgs however the current code is setting it in dp.ActionFlags

Description by Korbit AI

What change is being made?

Modify the code to correctly set the demo_mode flag by updating the attribute path to agent_args.flags.action.action_set.demo_mode.

Why are these changes being made?

The change addresses a bug where the demo_mode flag was not being set correctly due to an incorrect attribute path, ensuring that the demo_mode functions as intended within the application. This fix ensures the proper configuration of demo_mode which is critical for its expected operation.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed my review and didn't find any issues... but I did find this bunny.

(\(\
( -.-)
o_(")(")
Files scanned
File Path Reviewed
src/agentlab/ui_assistant.py

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

TLSDC
TLSDC previously approved these changes Apr 24, 2025
@yxxan
Copy link
Author

yxxan commented Apr 25, 2025

Hi could you please merge it if it is approved, I don't have the credentials thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants