Skip to content

[agent_loop, envs] feat: let policies finish LIBERO rollouts - #2

Open
simfeng wants to merge 2 commits into
mit-han-lab:mainfrom
simfeng:policy-finish
Open

simfeng wants to merge 2 commits into
mit-han-lab:mainfrom
simfeng:policy-finish

Conversation

@simfeng

@simfeng simfeng commented Nov 16, 2026

Copy link
Copy Markdown

What does this PR do?

Adds an opt-in LIBERO mode for model-controlled completion. After reaching the goal, the model still gets an observation and can continue or emit {"finish": true}. LIBERO scores the state at that point. Budget exhaustion is logged separately and earns 0.

Refs #1

How was it verified?

5 CPU tests passed with a test scene and 10 Agent Loop tests passed with stand-in runtime dependencies. Real LIBERO simulation and full training were not run.

Rendered prompt change in opt-in mode

Before: the episode ends by itself as soon as the task is done: while observations keep coming, the task is not done yet.

After: End your response with one fenced json block containing the next action or {"finish": true} if you have completed the task.

@simfeng
simfeng requested a review from Sakits as a code owner November 16, 2026 02:28

@simfeng simfeng left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi @Sakits, thanks for inviting me to put together a PR in #1. The workflows are awaiting approval. Could you approve them to run when you get a chance? Happy to address any feedback.

@Sakits

Sakits commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Hi @simfeng , thanks for putting this PR together! We're currently working on a few other features, but we'll come back and take a closer look once we wrap those up. :)

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