few-soccer-7112
05/16/2025, 2:11 AMtall-airline-16756
05/16/2025, 2:11 AMtall-airline-16756
05/16/2025, 2:11 AMChatContext
object. This object maintains a collection of items, such as messages and function calls, and allows for transferring chat history between agents. Here are the key steps:
• Messages are stored in the ChatContext
object, which can be copied and truncated as needed when switching agents.
• System messages can be added to the context to provide relevant information, such as user data or agent roles.
• Different message types (e.g., system, user, assistant, function calls) are converted into appropriate formats for processing.
• Function tool calls are preserved in the chat context, ensuring all interactions are saved.
If you need further details or examples, feel free to ask!
Sources: Tree View: | dse-workbench | Tree View: | dse-workbenchfew-soccer-7112
05/16/2025, 2:56 AMtall-airline-16756
05/16/2025, 2:56 AM