mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-09 15:34:31 +08:00
Refactor agent tool inputs and background activity logging
This commit is contained in:
@@ -125,6 +125,7 @@ class TestAgentInteraction(unittest.TestCase):
|
||||
notification = async_post_message.await_args.args[0]
|
||||
self.assertEqual(notification.text, "请选择要执行的操作")
|
||||
self.assertEqual(sum(len(row) for row in notification.buttons), 2)
|
||||
self.assertNotIn("description", notification.buttons[0][0])
|
||||
|
||||
callback_data = notification.buttons[0][0]["callback_data"]
|
||||
_, _, request_id, option_index = callback_data.split(":")
|
||||
|
||||
Reference in New Issue
Block a user