chat_with_context
Method
This is a method of the Agent class in the agent module.Chat with pre-retrieved context. This method allows AutoRagAgent or manual workflows to inject pre-retrieved context into the agent’s chat, enabling conditional retrieval without duplicating RAG logic.
Signature
Parameters
User message/question
ContextPack from RAG.retrieve()
Returns
Agent response with optional citations

