A dummy context object with conversation_history and managers.
| 171 | |
| 172 | |
| 173 | class DummyContext: |
| 174 | """A dummy context object with conversation_history and managers.""" |
| 175 | |
| 176 | def __init__(self, stream_manager=None, tool_manager=None): |
| 177 | self.conversation_history = [] |
| 178 | self.stream_manager = stream_manager |
| 179 | self.tool_manager = tool_manager |
| 180 | |
| 181 | def inject_tool_message(self, message): |
| 182 | """Add a message to conversation history (matches ChatContext API).""" |
| 183 | self.conversation_history.append(message) |
| 184 | |
| 185 | |
| 186 | # --------------------------- |
no outgoing calls