feat(mma): Implement interception logic in GUI and Conductor
This commit is contained in:
@@ -11,7 +11,11 @@ class MockDialog:
|
||||
self.approved = approved
|
||||
self.final_payload = final_payload
|
||||
def wait(self):
|
||||
return self.approved, self.final_payload
|
||||
# Match the new return format: a dictionary
|
||||
res = {'approved': self.approved, 'abort': False}
|
||||
if self.final_payload:
|
||||
res.update(self.final_payload)
|
||||
return res
|
||||
|
||||
@pytest.fixture
|
||||
def mock_ai_client():
|
||||
|
||||
Reference in New Issue
Block a user