A programming framework for agentic AI
fix markdown for long context user guide (#2351)
Burhanuddin Mustafa Lakdawala049184edc167
diff --git a/website/docs/topics/long_contexts.md b/website/docs/topics/long_contexts.mdindex bba36b570..0d8676191 100644--- a/website/docs/topics/long_contexts.md+++ b/website/docs/topics/long_contexts.md@@ -12,7 +12,6 @@ Why do we need to handle long contexts? The problem arises from several constraiThe `TransformMessages` capability is designed to modify incoming messages before they are processed by the LLM agent. This can include limiting the number of messages, truncating messages to meet token limits, and more.-````{=mdx}:::info RequirementsInstall `pyautogen`:```bash@@ -21,7 +20,6 @@ pip install pyautogenFor more information, please refer to the [installation guide](/docs/installation/).:::-````### Exploring and Understanding Transformations@@ -114,11 +112,9 @@ user_proxy = autogen.UserProxyAgent()```-```{=mdx}:::tipLearn more about configuring LLMs for agents [here](/docs/topics/llm_configuration).:::-```We first need to write the `test` function that creates a very long chat history by exchanging messages between an assistant and a user proxy agent, and then attempts to initiate a new chat without clearing the history, potentially triggering an error due to token limits.