(self)
| 37 | """Mock context for testing.""" |
| 38 | |
| 39 | def __init__(self): |
| 40 | self.conversation_history = [] |
| 41 | self.openai_tools = [] |
| 42 | self.tool_name_mapping = {} |
| 43 | self.client = MagicMock() |
| 44 | self.tool_manager = MagicMock() |
| 45 | # Make tool_manager async methods work properly |
| 46 | self.tool_manager.get_adapted_tools_for_llm = AsyncMock(return_value=([], {})) |
| 47 | self.provider = "openai" |
| 48 | |
| 49 | async def add_assistant_message(self, content): |
| 50 | """Add assistant message to conversation history.""" |
nothing calls this directly
no outgoing calls
no test coverage detected