8000 Enhance test for update plan by Zoe14 · Pull Request #1454 · huggingface/smolagents · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enhance test for update plan #1454

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 3 commits into
base: main
Choose a base branch
from

Conversation

Zoe14
Copy link
Contributor
@Zoe14 Zoe14 commented Jun 18, 2025

A previous change I did to save token usage is wrong as cyzus pointed out. I reverted the change, and updated the test to reflect the scenario I didn't think of.
The last message in the memory_messages is not necessarily the task.
Maybe we can filter the memory_message if we don't want to send the same task twice or we can change the pre_update_plan prompt to not include the task.

@Zoe14 Zoe14 changed the title enhance test for update plan Enhance test for update plan Jun 18, 2025
@Zoe14 Zoe14 marked this pull request as ready for review June 18, 2025 15:31
@aymeric-roucher
Copy link
Collaborator
aymeric-roucher commented Jun 18, 2025

In this case, let's go for the simple fix you propose and just undo the removal the latest message, no need for other modifications IMO!

@Zoe14 Zoe14 force-pushed the fix-update-planning-memory branch from 255b23a to 5381a1e Compare June 20, 2025 14:33
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
0