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

Chat History Reduction #4648

Open
BenConstable9 opened this issue Dec 10, 2024 · 3 comments
Open

Chat History Reduction #4648

BenConstable9 opened this issue Dec 10, 2024 · 3 comments
Milestone

Comments

@BenConstable9
Copy link

What feature would you like to be added?

I would like the ability for agents to only read chat history from select other agents or the last n messages.

Certain agents might only need the history from other select agents (in more of a process flow)

Certain agents might only need access to the last N messages.

Why is this needed?

Currently, long running group chats can consume a significant number of tokens.

@gagb
Copy link
Collaborator

gagb commented Dec 10, 2024

This would be a nice feature. It would help to have a mock of a concrete use case.

@ekzhu
Copy link
Collaborator

ekzhu commented Dec 12, 2024

This is related to #4438. I believe we can meet this requirement with a simple implementation of memory.

@ekzhu
Copy link
Collaborator

ekzhu commented Dec 12, 2024

@BenConstable9 meanwhile at the Core API, you can take a look at ModelContext module https://microsoft.github.io/autogen/dev/reference/python/autogen_core.model_context.html for some basic functionalities.

@rysweet rysweet added this to the future milestone Dec 13, 2024
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

4 participants