Skip to content

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

chore: reorder imports and format multiline arguments

Steven Enamakel25f2acb71e32
diff --git a/app/src/features/conversations/aui/useFollowupSuggestionEvents.test.tsx b/app/src/features/conversations/aui/useFollowupSuggestionEvents.test.tsx
index 3aec46ecfe..b6664f831f 100644
--- a/app/src/features/conversations/aui/useFollowupSuggestionEvents.test.tsx
+++ b/app/src/features/conversations/aui/useFollowupSuggestionEvents.test.tsx
@@ -5,8 +5,8 @@ import { Provider } from 'react-redux';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import {
- type SuggestionEventListeners,
subscribeSuggestionEvents,
+ type SuggestionEventListeners,
} from '../../../services/chatService';
import followupSuggestionsReducer from '../../../store/followupSuggestionsSlice';
import { useFollowupSuggestionEvents } from './useFollowupSuggestionEvents';
@@ -59,7 +59,11 @@ describe('useFollowupSuggestionEvents', () => {
const { store, listeners } = setup();
act(() =>
- listeners().onSuggestions?.({ thread_id: 't1', request_id: 'r9', suggestions: [{ prompt: 'a' }] })
+ listeners().onSuggestions?.({
+ thread_id: 't1',
+ request_id: 'r9',
+ suggestions: [{ prompt: 'a' }],
+ })
);
act(() => listeners().onSuggestions?.({ thread_id: 't2', suggestions: [{ prompt: 'b' }] }));
diff --git a/app/src/providers/__tests__/useOpenHumanExternalStore.suggestions.test.tsx b/app/src/providers/__tests__/useOpenHumanExternalStore.suggestions.test.tsx
index 218e76e933..cdce525dc3 100644
--- a/app/src/providers/__tests__/useOpenHumanExternalStore.suggestions.test.tsx
+++ b/app/src/providers/__tests__/useOpenHumanExternalStore.suggestions.test.tsx
@@ -155,7 +155,9 @@ describe('useOpenHumanExternalStore — suggestions', () => {
});
it('offers nothing when the settled thread ends on a user message', () => {
- const { result } = mountAdapter(buildStore({ messages: [agentMessage, userMessage], stored: true }));
+ const { result } = mountAdapter(
+ buildStore({ messages: [agentMessage, userMessage], stored: true })
+ );
expect(result.current.suggestions).toEqual([]);
});
diff --git a/app/src/providers/useOpenHumanExternalStore.ts b/app/src/providers/useOpenHumanExternalStore.ts
index ccf26fb1a8..1329a38cde 100644
--- a/app/src/providers/useOpenHumanExternalStore.ts
+++ b/app/src/providers/useOpenHumanExternalStore.ts
@@ -19,8 +19,8 @@ import {
isActiveTimelineStatus,
type ToolTimelineEntry,
} from '../store/chatRuntimeSlice';
-import { useAppDispatch, useAppSelector } from '../store/hooks';
import { toThreadSuggestions } from '../store/followupSuggestionsSlice';
+import { useAppDispatch, useAppSelector } from '../store/hooks';
import {
FEEDBACK_ROW_IDS_METADATA_KEY,
persistMessageFeedback,
diff --git a/app/src/store/followupSuggestionsSlice.test.ts b/app/src/store/followupSuggestionsSlice.test.ts
index 7c473710ac..9c8e8ad068 100644
--- a/app/src/store/followupSuggestionsSlice.test.ts
+++ b/app/src/store/followupSuggestionsSlice.test.ts
@@ -68,7 +68,11 @@ describe('followupSuggestionsSlice', () => {
state = followupSuggestionsReducer(
state,
- followupSuggestionsReceived({ threadId: 't1', requestId: null, suggestions: [{ prompt: '' }] })
+ followupSuggestionsReceived({
+ threadId: 't1',
+ requestId: null,
+ suggestions: [{ prompt: '' }],
+ })
);
expect(state.byThread.t1).toBeUndefined();
});