mustEmptyInventory builds an empty inventory for tests that only care about resources/prompts registered outside the inventory (such as the UI resources).
(t *testing.T)
| 161 | // mustEmptyInventory builds an empty inventory for tests that only care about |
| 162 | // resources/prompts registered outside the inventory (such as the UI resources). |
| 163 | func mustEmptyInventory(t *testing.T) *inventory.Inventory { |
| 164 | t.Helper() |
| 165 | inv, err := NewInventory(stubTranslator).WithToolsets([]string{}).Build() |
| 166 | require.NoError(t, err) |
| 167 | return inv |
| 168 | } |
no test coverage detected