Skip to content
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

Full system prompt saved to memory each time #531

Open
vqndev opened this issue Feb 7, 2025 · 1 comment
Open

Full system prompt saved to memory each time #531

vqndev opened this issue Feb 7, 2025 · 1 comment

Comments

@vqndev
Copy link

vqndev commented Feb 7, 2025

I noticed that every message I add to the conversation increases the token input by about 2,000 tokens. I checked the memory and saw that the full system prompt is being saved with each message.

Is that necessary? It seems like a waste of tokens.

@albertvillanova
Copy link
Member

Thanks for reporting, @vqndev. Could you provide a code to reproduce the error and which smolagents version you are using? 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

No branches or pull requests

2 participants