camel icon indicating copy to clipboard operation
camel copied to clipboard

[Enhance] ChatAgent Summarize Prompt

Open hesamsheikh opened this issue 1 month ago • 3 comments

The ChatAgent can summarize its context in various scenarios. for example when a certain percentage of context window is filled (#3227). The goal of this issue is explore ways to improve the prompt used for this summarization. This includes identifying weak points and patching them with clear instructions.

https://github.com/camel-ai/camel/blob/5f188c1e1e98750ab764a0f9aa93a94c101a0639/camel/agents/_utils.py#L28-L63

hesamsheikh avatar Nov 04 '25 10:11 hesamsheikh

hi hesam, do we already have cases where this fails or is this totally experimental?

JINO-ROHIT avatar Nov 05 '25 05:11 JINO-ROHIT

Hey @JINO-ROHIT

Assessing whether this is an optimal prompt is a task in itself, which also involves fixing the prompt where it falls short.

hesamsheikh avatar Nov 05 '25 09:11 hesamsheikh

okay yeah

JINO-ROHIT avatar Nov 06 '25 05:11 JINO-ROHIT