Test deepthink plugin and its submodules can be imported
()
| 107 | |
| 108 | |
| 109 | def test_deepthink_plugin_imports(): |
| 110 | """Test deepthink plugin and its submodules can be imported""" |
| 111 | # Test main plugin |
| 112 | import optillm.plugins.deepthink_plugin as plugin |
| 113 | assert hasattr(plugin, 'run') |
| 114 | assert hasattr(plugin, 'SLUG') |
| 115 | assert plugin.SLUG == "deepthink" |
| 116 | |
| 117 | # Test submodules can be imported |
| 118 | from optillm.plugins.deepthink import SelfDiscover, UncertaintyRoutedCoT |
| 119 | assert SelfDiscover is not None |
| 120 | assert UncertaintyRoutedCoT is not None |
| 121 | |
| 122 | |
| 123 | def test_longcepo_plugin(): |