| 230 | |
| 231 | |
| 232 | class DummyContext: |
| 233 | def __init__(self, tool_manager=None): |
| 234 | self.conversation_history = [] |
| 235 | self.tool_manager = tool_manager |
| 236 | self.tool_processor = None |
| 237 | |
| 238 | def inject_tool_message(self, message): |
| 239 | self.conversation_history.append(message) |
| 240 | |
| 241 | def get_display_name_for_tool(self, tool_name): |
| 242 | return f"display:{tool_name}" |
| 243 | |
| 244 | |
| 245 | def make_tool_call(name="echo", args='{"msg": "hi"}', call_id="call_0"): |
no outgoing calls