Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(toolkit): handle empty conversation list in test

Steven Enamakel7ead7145b8dc
diff --git a/app/src/features/conversations/aui/toolkit.test.tsx b/app/src/features/conversations/aui/toolkit.test.tsx
index 72fb655f00..2bdc84eb73 100644
--- a/app/src/features/conversations/aui/toolkit.test.tsx
+++ b/app/src/features/conversations/aui/toolkit.test.tsx
@@ -15,7 +15,7 @@ describe('buildOpenHumanToolkit', () => {
// `type: 'backend'` requires these to stay `undefined`: they are the
// core's tool schema, sent to the model over the wire, not something the
// frontend toolkit re-declares.
- for (const entry of Object.values(openHumanToolEntries)) {
+ for (const entry of Object.values(openHumanToolEntries())) {
expect(entry.type).toBe('backend');
}
});